ionicons (version 0.1.1)

as_png: 'ionicons' png file

Description

get full path of an icon from 'ionicons' pack. The icon is been produced as a png image. Width, height and fill color can be specified.

Usage

as_png(name, png = NULL, width = NULL, height = NULL, fill = "black")

Arguments

name
icon name (without extensions)
png
png file to produce
width
output width in pixels or NULL for default.
height
output height in pixels or NULL for default.
fill
fill color

Details

All icons are 512 pixels * 512 pixels by default.

Examples

Run this code
as_png(name = "alert")

Run the code above in your browser using DataLab