public class Gesture extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<Gesture> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
Gesture() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStroke(GestureStroke stroke) |
Object |
clone() |
int |
describeContents() |
RectF |
getBoundingBox() |
long |
getID() |
float |
getLength() |
ArrayList<GestureStroke> |
getStrokes() |
int |
getStrokesCount() |
Bitmap |
toBitmap(int width,
int height,
int inset,
int color) |
Bitmap |
toBitmap(int width,
int height,
int edge,
int numSample,
int color) |
Path |
toPath() |
Path |
toPath(int width,
int height,
int edge,
int numSample) |
Path |
toPath(Path path) |
Path |
toPath(Path path,
int width,
int height,
int edge,
int numSample) |
void |
writeToParcel(Parcel out,
int flags) |
public static final Parcelable.Creator<Gesture> CREATOR
public ArrayList<GestureStroke> getStrokes()
public int getStrokesCount()
public void addStroke(GestureStroke stroke)
public float getLength()
public RectF getBoundingBox()
public Path toPath()
public Path toPath(int width, int height, int edge, int numSample)
public long getID()
public Bitmap toBitmap(int width, int height, int edge, int numSample, int color)
public Bitmap toBitmap(int width, int height, int inset, int color)
public void writeToParcel(Parcel out, int flags)
writeToParcel in interface Parcelablepublic int describeContents()
describeContents in interface ParcelableCopyright © 2008-2013. All Rights Reserved.