public abstract class MetricAffectingSpan
extends CharacterStyle
implements UpdateLayout
java.lang.Object | ||
↳ | android.text.style.CharacterStyle | |
↳ | android.text.style.MetricAffectingSpan |
Known Direct Subclasses |
Known Indirect Subclasses |
以改变字符宽度或高度的方式影响字符级文本格式的类会扩展此类。
Public constructors |
|
---|---|
MetricAffectingSpan() |
Public methods |
|
---|---|
MetricAffectingSpan |
getUnderlying() 对于大多数MetricAffectingSpans返回“this”,但对于由 |
abstract void |
updateMeasureState(TextPaint p) |
Inherited methods |
|
---|---|
From class android.text.style.CharacterStyle
|
|
From class java.lang.Object
|
MetricAffectingSpan getUnderlying ()
对于大多数MetricAffectingSpans返回“this”,但对于由 wrap(CharacterStyle)
生成的 wrap(CharacterStyle)
,返回基础的MetricAffectingSpan。
Returns | |
---|---|
MetricAffectingSpan |
void updateMeasureState (TextPaint p)
Parameters | |
---|---|
p |
TextPaint
|