use_icon_definition {deckgl} | R Documentation |
Create an icon definition on an atlas image
Description
Create an icon definition on an atlas image
Usage
use_icon_definition(
x = 0,
y = 0,
width = 128,
height = 128,
anchor_x = (width/2),
anchor_y = 128,
mask = TRUE
)
Arguments
x |
The x position of the icon on the atlas image. |
y |
The y position of the icon on the atlas image. |
width |
The width of the icon on the atlas image. |
height |
The height of the icon on the atlas image. |
anchor_x |
The horizontal position of the icon anchor. |
anchor_y |
the vertical position of the icon anchor. |
mask |
whether icon is treated as a transparency mask,
if |
[Package deckgl version 0.3.0 Index]