updateDrawState

open fun updateDrawState(@NonNull context: Context, @NonNull textPaint: TextPaint, @NonNull callback: TextAppearanceFontCallback)

Applies the attributes that affect drawing from TextAppearance to the given TextPaint. Note that not all attributes can be applied to the TextPaint.

See also