Google is committed to advancing racial equity for Black communities. See how.

TextUnitType

enum class TextUnitType
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.unit.TextUnitType>
   ↳ androidx.compose.ui.unit.TextUnitType

An enum class defining for type of TextUnit.

Summary

Enum values

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Properties
Int

Enum values

Em

enum val Em : TextUnitType

Inherit

enum val Inherit : TextUnitType

Deprecated.

Sp

enum val Sp : TextUnitType

Unspecified

enum val Unspecified : TextUnitType

Properties

value

val value: Int