Build 1.0_r1(from source)

android.text.style
Class ScaleXSpan

java.lang.Object
  extended by android.text.style.CharacterStyle
      extended by android.text.style.MetricAffectingSpan
          extended by android.text.style.ScaleXSpan
All Implemented Interfaces:
UpdateLayout

public class ScaleXSpan
extends MetricAffectingSpan


Nested Class Summary
 
Nested classes/interfaces inherited from class android.text.style.MetricAffectingSpan
MetricAffectingSpan.Passthrough
 
Constructor Summary
ScaleXSpan(float proportion)
           
 
Method Summary
 float getScaleX()
           
 void updateDrawState(TextPaint ds)
           
 void updateMeasureState(TextPaint ds)
           
 
Methods inherited from class android.text.style.MetricAffectingSpan
getUnderlying
 
Methods inherited from class android.text.style.CharacterStyle
wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleXSpan

public ScaleXSpan(float proportion)
Method Detail

getScaleX

public float getScaleX()

updateDrawState

public void updateDrawState(TextPaint ds)
Specified by:
updateDrawState in class CharacterStyle

updateMeasureState

public void updateMeasureState(TextPaint ds)
Specified by:
updateMeasureState in class MetricAffectingSpan

Build 1.0_r1(from source)

Please submit a feedback, bug or feature