public class StyleSpan extends MetricAffectingSpan implements ParcelableSpan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
StyleSpan(int style) |
StyleSpan(Parcel src) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getSpanTypeId() |
int |
getStyle() |
void |
updateDrawState(TextPaint ds) |
void |
updateMeasureState(TextPaint paint) |
void |
writeToParcel(Parcel dest,
int flags) |
getUnderlyingwrappublic StyleSpan(int style)
public StyleSpan(Parcel src)
public int getSpanTypeId()
getSpanTypeId in interface ParcelableSpanpublic int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic int getStyle()
public void updateDrawState(TextPaint ds)
updateDrawState in class CharacterStylepublic void updateMeasureState(TextPaint paint)
updateMeasureState in class MetricAffectingSpanCopyright © 2008-2013. All Rights Reserved.