DiceView

fun DiceView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_DICE_WIDTH,     height: Number = DEFAULT_DICE_HEIGHT,     visuals: List<Visual>)

Creates a DiceView with given Visuals.

Parameters

posX

Horizontal coordinate for this DiceView. Default: 0.

posY

Vertical coordinate for this DiceView. Default: 0.

width

Width for this DiceView. Default: DEFAULT_DICE_WIDTH.

height

Height for this DiceView. Default: DEFAULT_DICE_HEIGHT.

visuals

List of visuals to represent the sides of the die.