AbsoluteSizeSpan

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

public class AbsoluteSizeSpan extends MetricAffectingSpan

AbsoluteSizeSpan ← MetricAffectingSpan ← CharacterStyle

A text size in pixels, or in dips.

Constructors

public AbsoluteSizeSpan(int size) source
public AbsoluteSizeSpan(int size, boolean dip) source

Methods

public int getSize() source
public boolean getDip() source
public void updateDrawState(TextPaint ds) source
public void updateMeasureState(TextPaint ds) 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.