CardView

fun CardView(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_CARD_WIDTH,     height: Number = DEFAULT_CARD_HEIGHT,     front: Visual,     back: Visual = front)

Creates a CardView with given Visuals.

Parameters

posX

Horizontal coordinate for this CardView. Default: 0.

posY

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.