androidx.text.vertical.compose
Interfaces
VerticalTextScope |
Receiver for the |
Classes
VerticalTextStyle |
A style object for vertical text, containing only members supported by |
Annotations
VerticalTextDsl |
Marks the |
Composables
VerticalText |
Displays text laid out vertically using |
buildVerticalText |
Composable-context convenience for |
Top-level functions summary
Spanned |
buildVerticalText(density: Density, builder: VerticalTextScope.() -> Unit)Builds a |
Top-level functions
buildVerticalText
fun buildVerticalText(density: Density, builder: VerticalTextScope.() -> Unit): Spanned
Builds a Spanned representing vertical text by running builder against a VerticalTextScope. The resulting Spanned is an immutable snapshot that can be passed to VerticalText.
| Parameters | |
|---|---|
density: Density |
used to resolve sp-based |
builder: VerticalTextScope.() -> Unit |
the DSL block describing the content. |