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

TransformedText

data class TransformedText
kotlin.Any
   ↳ androidx.compose.ui.text.input.TransformedText

The transformed text with offset offset mapping

Summary

Public constructors
<init>(transformedText: AnnotatedString, offsetMapping: OffsetMapping)

The transformed text with offset offset mapping

Properties
OffsetMapping

The map used for bidirectional offset mapping from original to transformed text.

AnnotatedString

The transformed text

Public constructors

<init>

TransformedText(
    transformedText: AnnotatedString,
    offsetMapping: OffsetMapping)

The transformed text with offset offset mapping

Properties

offsetMapping

val offsetMapping: OffsetMapping

The map used for bidirectional offset mapping from original to transformed text.

transformedText

val transformedText: AnnotatedString

The transformed text