TextAlign

@Serializable
enum TextAlign : Enum<TextAlign>

Entries

Link copied to clipboard
@SerialName(value = "center")
CENTER

Align the text in the center of the page.

Link copied to clipboard
@SerialName(value = "justify")
JUSTIFY

Stretch lines of text that end with a soft line break to fill the width of the page.

Link copied to clipboard
@SerialName(value = "start")
START

Align the text on the leading edge of the page.

Link copied to clipboard
@SerialName(value = "end")
END

Align the text on the trailing edge of the page.

Link copied to clipboard
@SerialName(value = "left")
LEFT

Align the text on the left edge of the page.

Link copied to clipboard
@SerialName(value = "right")
RIGHT

Align the text on the right edge of the page.

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): TextAlign

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.