androidx.text.vertical


This library provides vertical writing layout capability for developers.

Interfaces

TextOrientationSpan

A sealed interface representing text orientation spans for use within a vertical text layout.

Classes

AnnotationPosition

Properties of a text annotation (i.e. ruby and emphasis marks).

EmphasisSpan

A span that applies emphasis marks to text in a vertical layout.

EmphasisStyle
FontShearSpan

A span that applies a shear (skew) transformation to vertical writing text.

RubySpan

A span used to specify ruby text for a portion of the text.

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.

VerticalTextLayout

Represents the result of laying out text vertically.

Enums

TextOrientation

Represents the orientation of text within a vertical writing mode.