Dice View
fun DiceView( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_DICE_WIDTH, height: Number = DEFAULT_DICE_HEIGHT, visuals: List<Visual>)
Content copied to clipboard
Creates a DiceView with given Visuals.
Parameters
pos X
Horizontal coordinate for this DiceView. Default: 0.
pos Y
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.