TextOrientationSpan
sealed interface TextOrientationSpan
TextOrientationSpan.Sideways |
A span that forces the enclosed text to be displayed in a sideways orientation ( |
TextOrientationSpan.TextCombineUpright |
A span that combines a small sequence of characters (typically 2-4 digits) into a single horizontal block within a vertical text flow. |
TextOrientationSpan.Upright |
A span that forces the enclosed text to be displayed in an upright orientation ( |
A sealed interface representing text orientation spans for use within a vertical text layout.
These spans allow for overriding the default text orientation of portions of text, such as setting it to upright, sideways, or combining text horizontally within a vertical flow (tate-chu-yoko).
These spans are intended for use with VerticalTextLayout.
Summary
Nested types |
|---|
|
A span that forces the enclosed text to be displayed in a sideways orientation ( |
|
A span that combines a small sequence of characters (typically 2-4 digits) into a single horizontal block within a vertical text flow. |
|
A span that forces the enclosed text to be displayed in an upright orientation ( |