public class ForegroundColorSpan extends CharacterStyle implements UpdateAppearance, ParcelableSpan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
ForegroundColorSpan(int color) |
ForegroundColorSpan(Parcel src) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getForegroundColor() |
int |
getSpanTypeId() |
void |
updateDrawState(TextPaint ds) |
void |
writeToParcel(Parcel dest,
int flags) |
getUnderlying, wrappublic ForegroundColorSpan(int color)
public ForegroundColorSpan(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 getForegroundColor()
public void updateDrawState(TextPaint ds)
updateDrawState in class CharacterStyleCopyright © 2008-2013. All Rights Reserved.