CardOrientation

sealed class CardOrientation(source)

Represents the orientation of the card media.

Vertical will place the media at the top of the card. Horizontal allows for either leading or trailing media placement.

Inheritors

Types

Link copied to clipboard
data class Horizontal(val position: CardMediaPosition = CardMediaPosition.Leading, val alignment: CardContentVerticalAlignment = CardContentVerticalAlignment.Top) : CardOrientation

Horizontal orientation of the card media.

Link copied to clipboard

Vertical orientation of the card media.