CardStack

fun CardStack(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_CARD_STACK_WIDTH,     height: Number = DEFAULT_CARD_STACK_HEIGHT,     alignment: Alignment = Alignment.CENTER,     visual: Visual = Visual.EMPTY)

Creates a CardStack.

Parameters

T

Generic CardView.

posX

Horizontal coordinate for this CardStack. Default: 0.

posY

Vertical coordinate for this CardStack. Default: 0.

width

Width for this CardStack. Default: DEFAULT_CARD_STACK_WIDTH.

height

Height for this CardStack. Default: DEFAULT_CARD_STACK_HEIGHT.

alignment

Specifies how the contained CardViews should be aligned. Default: Alignment.CENTER

visual

Visual for this CardStack. Default: Visual.EMPTY.