Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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