Token View
fun TokenView( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_TOKEN_WIDTH, height: Number = DEFAULT_TOKEN_HEIGHT, visual: Visual)
Content copied to clipboard
Creates a TokenView with given Visual.
Parameters
pos X
Horizontal coordinate for this TokenView. Default: 0.
pos Y
Vertical coordinate for this TokenView. Default: 0.
width
Width for this TokenView. Default: DEFAULT_TOKEN_WIDTH.
height
Height for this TokenView. Default: DEFAULT_TOKEN_HEIGHT.
visual
Visual for this TokenView.