Class of android.text.style · ReplacementSpan.java · Android's reference
public abstract class ReplacementSpan extends MetricAffectingSpan
ReplacementSpan ← MetricAffectingSpan ← CharacterStyle
A span drawn in place of its characters.
public abstract int getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm) sourcepublic abstract void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) sourcepublic CharSequence getContentDescription() sourcepublic void setContentDescription(CharSequence d) sourcepublic void updateMeasureState(TextPaint p) empty body sourcepublic void updateDrawState(TextPaint ds) empty body 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.