Package com.luciad.input.touch
Class TouchPoint
java.lang.Object
com.luciad.input.touch.TouchPoint
Touch point that results from a user touch interaction.
-
Constructor Summary
ConstructorDescriptionTouchPoint
(Coordinate location, TouchPointState state, long id) Creates a touch point. -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getId()
The unique identifier of this touch point, valid until this touch point is released.The screen location of the touch point, expressed in device independent pixels.getState()
The current TouchPointState for this touch point.int
hashCode()
-
Constructor Details
-
TouchPoint
Creates a touch point.- Parameters:
location
- The location of the touch point, defined in device independent pixels.state
- The status of the touch point.id
- The touch device ID, such as an index assigned for each finger for example.
-
-
Method Details
-
getLocation
The screen location of the touch point, expressed in device independent pixels. -
getState
The current TouchPointState for this touch point. -
getId
public long getId()The unique identifier of this touch point, valid until this touch point is released. -
equals
-
hashCode
public int hashCode()
-