TypefaceSpan

Class of android.text.style · TypefaceSpan.java · Android's reference

public class TypefaceSpan extends MetricAffectingSpan

TypefaceSpan ← MetricAffectingSpan ← CharacterStyle

A font family or typeface for text.

Constructors

public TypefaceSpan(String family) source
public TypefaceSpan(Typeface typeface) source

Methods

public String getFamily() source
public Typeface getTypeface() source
public void updateDrawState(TextPaint ds) source
public void updateMeasureState(TextPaint paint) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.