Align

@ObjCName(name = "TeyaAlign", exact = true)
enum Align : Enum<Align>

Align represents the horizontal alignment of a UI element such as text, images, or QR codes.

It defines how these elements should be arranged horizontally within their container. This enumeration provides three alignment options:

  • Left: Aligns the element to the left of its container.

  • Center: Centers the element within its container.

  • Right: Aligns the element to the right of its container.

Align is commonly used in data classes for visual elements like Text, Image, and QrCode to control their alignment properties.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Align

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.