public class TypefaceSpan extends MetricAffectingSpan implements ParcelableSpan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
TypefaceSpan(Parcel src) |
TypefaceSpan(String family) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
String |
getFamily() |
int |
getSpanTypeId() |
void |
updateDrawState(TextPaint ds) |
void |
updateMeasureState(TextPaint paint) |
void |
writeToParcel(Parcel dest,
int flags) |
getUnderlyingwrappublic TypefaceSpan(String family)
public TypefaceSpan(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 String getFamily()
public void updateDrawState(TextPaint ds)
updateDrawState in class CharacterStylepublic void updateMeasureState(TextPaint paint)
updateMeasureState in class MetricAffectingSpanCopyright © 2008-2013. All Rights Reserved.