Build 1.0_r1(from source)

android.text.style
Class RelativeSizeSpan

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

public class RelativeSizeSpan
extends MetricAffectingSpan


Nested Class Summary
 
Nested classes/interfaces inherited from class android.text.style.MetricAffectingSpan
MetricAffectingSpan.Passthrough
 
Constructor Summary
RelativeSizeSpan(float proportion)
           
 
Method Summary
 float getSizeChange()
           
 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

RelativeSizeSpan

public RelativeSizeSpan(float proportion)
Method Detail

getSizeChange

public float getSizeChange()

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