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

EmphasisSpan

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

FontShearSpan

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

RubySpan

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

RubySpan.Builder

Builder class for creating RubySpan instances.

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.

VerticalTextLayout.Builder

Builder class for creating instances of VerticalTextLayout.

TextOrientation

Represents the orientation of text within a vertical writing mode.