Skip to content

Most visited

Recently visited

navigation
Added in API level 4

GesturePoint

public class GesturePoint
extends Object

java.lang.Object
   ↳ android.gesture.GesturePoint


A timed point of a gesture stroke. Multiple points form a stroke.

Summary

Fields

public final long timestamp

public final float x

public final float y

Public constructors

GesturePoint(float x, float y, long t)

Public methods

Object clone()

Creates and returns a copy of this Object.

Inherited methods

From class java.lang.Object

Fields

timestamp

Added in API level 4
long timestamp

x

Added in API level 4
float x

y

Added in API level 4
float y

Public constructors

GesturePoint

Added in API level 4
GesturePoint (float x, 
                float y, 
                long t)

Parameters
x float
y float
t long

Public methods

clone

Added in API level 4
Object clone ()

Creates and returns a copy of this Object. The default implementation returns a so-called "shallow" copy: It creates a new instance of the same class and then copies the field values (including object references) from this instance to the new instance. A "deep" copy, in contrast, would also recursively clone nested objects. A subclass that needs to implement this kind of cloning should call super.clone() to create the new instance and then create deep copies of the nested, mutable objects.

Returns
Object a copy of this object.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.