TextStyle

@Immutable
value class TextStyle

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

true when this is TextStyle.Empty.

Link copied to clipboard

false when this is TextStyle.Empty.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(other: TextStyle): Boolean
Link copied to clipboard
operator fun plus(other: TextStyle): TextStyle
Link copied to clipboard
inline fun TextStyle.takeOrElse(block: () -> TextStyle): TextStyle

If this text style isSpecifiedTextStyle then this is returned, otherwise block is executed and its result is returned.