RichUtils / pyxis.uzuki.live.richutilskt.widget / TypefaceSpan

TypefaceSpan

class TypefaceSpan : MetricAffectingSpan

Custom Typeface span class

Constructors

<init>

TypefaceSpan(inputTypeface: Typeface?)

Custom Typeface span class

Functions

updateDrawState

fun updateDrawState(tp: TextPaint?): Unit

Passes updateDrawState through to the underlying MetricAffectingSpan.

updateMeasureState

fun updateMeasureState(p: TextPaint?): Unit

Passes updateMeasureState through to the underlying MetricAffectingSpan.