GesturePointpublic class GesturePoint extends Object A timed point of a gesture stroke. Multiple points form a stroke. |
Fields Summary |
---|
public final float | x | public final float | y | public final long | timestamp |
Constructors Summary |
---|
public GesturePoint(float x, float y, long t)
this.x = x;
this.y = y;
timestamp = t;
|
Methods Summary |
---|
public java.lang.Object | clone()
return new GesturePoint(x, y, timestamp);
| static android.gesture.GesturePoint | deserialize(java.io.DataInputStream in)
// Read X and Y
final float x = in.readFloat();
final float y = in.readFloat();
// Read timestamp
final long timeStamp = in.readLong();
return new GesturePoint(x, y, timeStamp);
|
|