Card View
fun CardView( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_CARD_WIDTH, height: Number = DEFAULT_CARD_HEIGHT, front: Visual, back: Visual = front)
Content copied to clipboard
Creates a CardView with given Visuals.
Parameters
pos X
Horizontal coordinate for this CardView. Default: 0.
pos Y
Vertical coordinate for this CardView. Default: 0.
width
Width for this CardView. Default: DEFAULT_CARD_WIDTH.
height
Height for this CardView. Default: DEFAULT_CARD_HEIGHT.
front
Visual to represent the front side of the card.
back
Visual to represent the back side of the card. Default: same Visual as front.