android.text.style.StyleSpan
Describes a style in a span.
Note that styles are cumulative -- if both bold and italic are set in
separate spans, or if the base style is bold and a span calls for italic,
you get bold italic. You can't turn off a style from the base style.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
StyleSpan(int style)
Parameters
style
| An integer constant describing the style for this span. Examples
include bold, italic, and normal. Values are constants defined
in Typeface.
|
Public Methods
public
int
getStyle()
Returns the style constant defined in
Typeface.
public
void
updateMeasureState(TextPaint paint)