Create an icon definition on an atlas image
use_icon_definition(
x = 0,
y = 0,
width = 128,
height = 128,
anchor_x = (width/2),
anchor_y = 128,
mask = TRUE
)
The x position of the icon on the atlas image.
The y position of the icon on the atlas image.
The width of the icon on the atlas image.
The height of the icon on the atlas image.
The horizontal position of the icon anchor.
the vertical position of the icon anchor.
whether icon is treated as a transparency mask,
if TRUE
, user defined color is applied,
if FALSE
, pixel color from the image is applied