to top
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

? Examples
MetricAffectingSpan()
Public Methods

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

? Examples
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

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.