TextOrientationSpan


sealed interface TextOrientationSpan

Known direct subclasses
TextOrientationSpan.Sideways

A span that forces the enclosed text to be displayed in a sideways orientation (TextOrientation.SIDEWAYS) within a vertical text layout.

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 (TextOrientation.UPRIGHT) within a vertical text layout.


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 (TextOrientation.SIDEWAYS) within a vertical text layout.

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 (TextOrientation.UPRIGHT) within a vertical text layout.