android.gesture
Class Gesture
java.lang.Object
android.gesture.Gesture
- All Implemented Interfaces:
- Parcelable
public class Gesture
- extends Object
- implements Parcelable
Method Summary |
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)
|
CREATOR
public static final Parcelable.Creator<Gesture> CREATOR
Gesture
public Gesture()
clone
public Object clone()
- Overrides:
clone
in class Object
getStrokes
public ArrayList<GestureStroke> getStrokes()
getStrokesCount
public int getStrokesCount()
addStroke
public void addStroke(GestureStroke stroke)
getLength
public float getLength()
getBoundingBox
public RectF getBoundingBox()
toPath
public Path toPath()
toPath
public Path toPath(Path path)
toPath
public Path toPath(int width,
int height,
int edge,
int numSample)
toPath
public Path toPath(Path path,
int width,
int height,
int edge,
int numSample)
getID
public long getID()
toBitmap
public Bitmap toBitmap(int width,
int height,
int edge,
int numSample,
int color)
toBitmap
public Bitmap toBitmap(int width,
int height,
int inset,
int color)
writeToParcel
public void writeToParcel(Parcel out,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
Copyright © 2008-2012. All Rights Reserved.