{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

androidx.compose.ui.text

Annotations

ExperimentalTextApi
InternalTextApi

Interfaces

Paragraph

A paragraph of text that is laid out.

ParagraphIntrinsics

Calculates and presents the intrinsic width and height of text.

Classes

AnnotatedString

The basic data structure of text with multiple styles.

AnnotatedString.Builder

Builder class for AnnotatedString.

AnnotatedString.Range

The information attached on the text such as a SpanStyle.

AnnotatedStringKt
AtomicReference
EmojiSupportMatch

When to replace emoji with support emoji using androidx.emoji2.

MultiParagraph

Lays out and renders multiple paragraphs at once.

MultiParagraphIntrinsics

Calculates and provides the intrinsic width and height of text that contains ParagraphStyle.

ParagraphIntrinsicsKt
ParagraphKt
ParagraphStyle

Paragraph styling configuration for a paragraph.

ParagraphStyleKt
Placeholder

A placeholder is a rectangle box inserted into text, which tells the text processor to leave an empty space.

PlaceholderVerticalAlign

The settings used to specify how a placeholder is vertically aligned within a text line.

PlatformParagraphStyle

Provides platform specific ParagraphStyle configuration options for styling and compatibility.

PlatformSpanStyle

Provides platform specific SpanStyle configuration options for styling and compatibility.

PlatformTextStyle

Provides platform specific TextStyle configuration options for styling and compatibility.

PlatformTextStyleKt
SpanStyle

Styling configuration for a text span.

SpanStyleKt
StringKt
TextLayoutInput

The data class which holds the set of parameters of the text layout computation.

TextLayoutResult

The data class which holds text layout result.

TextMeasurer

TextMeasurer is responsible for measuring a text in its entirety so that it's ready to be drawn.

TextMeasurerHelperKt
TextPainterKt
TextRange

An immutable text range class, represents a text range from start (inclusive) to end (exclusive).

TextRangeKt
TextStyle

Styling configuration for a Text.

TextStyleKt
TtsAnnotation

An annotation that contains the metadata intended for text-to-speech engine.

UrlAnnotation

An annotation that contains the metadata intended for text-to-speech engine.

VerbatimTtsAnnotation

The text associated with this annotation is a series of characters that have to be read verbatim.

EmojiSupportMatch.Companion
PlaceholderVerticalAlign.Companion
PlatformParagraphStyle.Companion
PlatformSpanStyle.Companion
TextPainter
TextRange.Companion
TextStyle.Companion