public class QuoteSpan extends Object implements LeadingMarginSpan, ParcelableSpan
LeadingMarginSpan.LeadingMarginSpan2, LeadingMarginSpan.StandardParcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
QuoteSpan() |
QuoteSpan(int color) |
QuoteSpan(Parcel src) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
void |
drawLeadingMargin(Canvas c,
Paint p,
int x,
int dir,
int top,
int baseline,
int bottom,
CharSequence text,
int start,
int end,
boolean first,
Layout layout) |
int |
getColor() |
int |
getLeadingMargin(boolean first) |
int |
getSpanTypeId() |
void |
writeToParcel(Parcel dest,
int flags) |
public QuoteSpan()
public QuoteSpan(int color)
public QuoteSpan(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 getColor()
public int getLeadingMargin(boolean first)
getLeadingMargin in interface LeadingMarginSpanpublic void drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout)
drawLeadingMargin in interface LeadingMarginSpanCopyright © 2008-2013. All Rights Reserved.