Class of android.text.style · StyleSpan.java · Android's reference
public class StyleSpan extends MetricAffectingSpan
StyleSpan ← MetricAffectingSpan ← CharacterStyle
Bold or italic text.
public StyleSpan(int style) sourcepublic int getStyle() sourcepublic void updateDrawState(TextPaint ds) sourcepublic void updateMeasureState(TextPaint paint) sourceMade 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.