TextStyleStyleScope

Known direct subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces the text property to a Style receiver scope.

See also
StyleScope

Summary

Inherited functions

From androidx.compose.foundation.style.BaselineShiftScope
Unit

Sets the baseline shift for the text (e.g., for superscript or subscript).

Cmn
From androidx.compose.foundation.style.ContentColorScope
Unit

Sets the preferred brush for rendering content, primarily affecting text.

Cmn
Unit

Sets the preferred content color, primarily affecting text color.

Cmn
From androidx.compose.foundation.style.FontFamilyScope
Unit

Sets the font family for the text.

Cmn
From androidx.compose.foundation.style.FontSizeScope
Unit

Sets the font size for the text.

Cmn
From androidx.compose.foundation.style.FontStyleScope
Unit

Sets the font style for the text (e.g., italic, normal).

Cmn
From androidx.compose.foundation.style.FontSynthesisScope
Unit

Sets the font synthesis strategy, determining if and how bold/italic styles are synthesized when the font family does not natively support them.

Cmn
From androidx.compose.foundation.style.FontWeightScope
Unit

Sets the font weight for the text (e.g., bold, normal).

Cmn
From androidx.compose.foundation.style.HyphensScope
Unit
hyphens(value: Hyphens)

Sets the hyphenation strategy for text.

Cmn
From androidx.compose.foundation.style.LetterSpacingScope
Unit

Sets the letter spacing for the text.

Cmn
From androidx.compose.foundation.style.LineBreakScope
Unit

Sets the line breaking strategy for text.

Cmn
From androidx.compose.foundation.style.LineHeightScope
Unit

Sets the line height for the text.

Cmn
From androidx.compose.foundation.style.TextAlignScope
Unit

Sets the text alignment (e.g., start, end, center).

Cmn
From androidx.compose.foundation.style.TextDecorationScope
Unit

Sets the text decoration (e.g., underline, line-through).

Cmn
From androidx.compose.foundation.style.TextDirectionScope
Unit

Sets the text direction (e.g., LTR, RTL, content-based).

Cmn
From androidx.compose.foundation.style.TextIndentScope
Unit

Sets the text indent (e.g., for the first line or subsequent lines).

Cmn
From androidx.compose.foundation.style.TextMotionScope
Unit

Sets the text motion strategy, which can be used to optimize for readability or for smooth animations.

Cmn
From androidx.compose.foundation.style.TextStyleScope
Unit

Applies a complete TextStyle object to the component.

Cmn