Android APIs
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

Class Overview

The classes that affect character-level text formatting in a way that changes the width or height of characters extend this class.

Summary

Public Constructors
MetricAffectingSpan()
Public Methods
MetricAffectingSpan getUnderlying()
Returns "this" for most MetricAffectingSpans, but for MetricAffectingSpans that were generated by wrap(CharacterStyle), returns the underlying MetricAffectingSpan.
abstract void updateMeasureState(TextPaint p)
[Expand]
Inherited Methods
From class android.text.style.CharacterStyle
From class java.lang.Object

Public Constructors

public MetricAffectingSpan ()

Added in API level 1

Public Methods

public MetricAffectingSpan getUnderlying ()

Added in API level 1

Returns "this" for most MetricAffectingSpans, but for MetricAffectingSpans that were generated by wrap(CharacterStyle), returns the underlying MetricAffectingSpan.

public abstract void updateMeasureState (TextPaint p)

Added in API level 1