Class of android.text.style · ForegroundColorSpan.java · Android's reference
public class ForegroundColorSpan extends CharacterStyle implements UpdateAppearance
ForegroundColorSpan ← CharacterStyle
A text color.
public ForegroundColorSpan(int color) sourcepublic int getForegroundColor() sourcepublic void updateDrawState(TextPaint tp) 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.