Learn R Programming

deckgl (version 0.2.5)

use_icon_definition: Icon definition on an atlas image

Description

Icon definition on an atlas image

Usage

use_icon_definition(x = 0, y = 0, width = 128, height = 128,
  anchorX = (width/2), anchorY = 128, mask = TRUE)

Arguments

x

x position of icon on the atlas image

y

y position of icon on the atlas image

width

width of icon on the atlas image

height

height of icon on the atlas image

anchorX

horizontal position of icon anchor

anchorY

vertical position of icon anchor

mask

whether icon is treated as a transparency mask, if TRUE, user defined color is applied, if FALSE, pixel color from the image is applied