CardVisualState

data class CardVisualState(val y: Double, val scale: Double, val elevation: Double, val zIndex: Double, val alpha: Double)

Visual presentation state for a card at a given layout/interaction frame.

Constructors

Link copied to clipboard
constructor(y: Double, scale: Double, elevation: Double, zIndex: Double, alpha: Double)

Properties

Link copied to clipboard

the opacity of the card (0.0 to 1.0).

Link copied to clipboard

the shadow elevation in dp/points.

Link copied to clipboard

the scale factor to apply (e.g. 1.0, 1.025, 1.05, 0.6..0.95).

Link copied to clipboard
val y: Double

the vertical position in coordinate space in dp/points.

Link copied to clipboard

the drawing order z-index.