TokenView

fun TokenView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_TOKEN_WIDTH,     height: Number = DEFAULT_TOKEN_HEIGHT,     visual: Visual)

Creates a TokenView with given Visual.

Parameters

posX

Horizontal coordinate for this TokenView. Default: 0.

posY

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.