CardDimensions

data class CardDimensions(val width: Double, val height: Double, val xOffset: Double)

Computed dimensions and horizontal offset for a card in the layout.

Constructors

Link copied to clipboard
constructor(width: Double, height: Double, xOffset: Double)

Properties

Link copied to clipboard

the rendered height of the card in dp/points.

Link copied to clipboard

the rendered width of the card in dp/points.

Link copied to clipboard

the horizontal offset (for centering within viewport) in dp/points.