CharDirectionality
Represents the Unicode directionality of a character. Character directionality is used to calculate the visual ordering of text.
Since Kotlin
1.0Entries
Strong bidirectional character type "L" in the Unicode specification.
Strong bidirectional character type "R" in the Unicode specification.
Strong bidirectional character type "AL" in the Unicode specification.
Weak bidirectional character type "EN" in the Unicode specification.
Weak bidirectional character type "ES" in the Unicode specification.
Weak bidirectional character type "ET" in the Unicode specification.
Weak bidirectional character type "AN" in the Unicode specification.
Weak bidirectional character type "CS" in the Unicode specification.
Weak bidirectional character type "NSM" in the Unicode specification.
Weak bidirectional character type "BN" in the Unicode specification.
Neutral bidirectional character type "B" in the Unicode specification.
Neutral bidirectional character type "S" in the Unicode specification.
Neutral bidirectional character type "WS" in the Unicode specification.
Neutral bidirectional character type "ON" in the Unicode specification.
Strong bidirectional character type "LRE" in the Unicode specification.
Strong bidirectional character type "LRO" in the Unicode specification.
Strong bidirectional character type "RLE" in the Unicode specification.
Strong bidirectional character type "RLO" in the Unicode specification.
Weak bidirectional character type "PDF" in the Unicode specification.
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.