TextDecorationSpan

class TextDecorationSpan : CharacterStyle
kotlin.Any
   ↳ android.text.style.CharacterStyle
   ↳ androidx.compose.ui.text.android.style.TextDecorationSpan

A span which applies the underline and strike through to the affected text.

Summary

Public constructors
TextDecorationSpan(isUnderlineText: Boolean)

A span which applies the underline and strike through to the affected text.

Public methods
Unit

Properties
Boolean

whether to draw the under for the affected text.

Public constructors

TextDecorationSpan

TextDecorationSpan(isUnderlineText: Boolean)

A span which applies the underline and strike through to the affected text.

Public methods

updateDrawState

fun updateDrawState(textPaint: TextPaint): Unit

Properties

isUnderlineText

val isUnderlineText: Boolean

whether to draw the under for the affected text.