Skip to content

//readium-navigator/org.readium.r2.navigator.preferences/TextAlign

TextAlign

[androidJvm]\ @Serializable

enum TextAlign : Enum<TextAlign>

Entries

CENTER [androidJvm]
CENTER
Align the text in the center of the page.
JUSTIFY [androidJvm]
JUSTIFY
Stretch lines of text that end with a soft line break to fill the width of the page.
START [androidJvm]
START
Align the text on the leading edge of the page.
END [androidJvm]
END
Align the text on the trailing edge of the page.
LEFT [androidJvm]
LEFT
Align the text on the left edge of the page.
RIGHT [androidJvm]
RIGHT
Align the text on the right edge of the page.

Functions

Name Summary
valueOf [androidJvm]
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.)
values [androidJvm]
fun values(): Array<TextAlign>
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int