as_png: 'ionicons' png file

Description Usage Arguments Details Examples

View source: R/ionicons.R

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

1
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

1
as_png(name = "alert")

ionicons documentation built on May 29, 2017, 10:13 p.m.