java.lang.Object | |
↳ | com.neomades.app.TouchEvent |
Touch screen event generated by an end-user action.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getDraggedHeight()
Returns the height of the current dragged gesture.
| ||||||||||
int |
getDraggedWidth()
Returns the width of the current dragged gesture.
| ||||||||||
int |
getPressedX()
Returns the origin X position.
| ||||||||||
int |
getPressedY()
Returns the origin Y position.
| ||||||||||
int |
getTotalHeight()
Returns the total amount of the dragged gesture.
| ||||||||||
int |
getTotalWidth()
Returns the total amount of the dragged gesture.
| ||||||||||
int |
getX()
Returns the current x
| ||||||||||
int |
getY()
Returns the current y
| ||||||||||
boolean | isCancelled() | ||||||||||
boolean |
isDragged()
Returns if the finger is currently dragged from the original position.
| ||||||||||
boolean |
isPressed()
Returns if the finger is only pressed (no drag, no release).
| ||||||||||
boolean |
isReleased()
Returns if the finger has been released from the screen.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the height of the current dragged gesture.
Returns the width of the current dragged gesture.
Returns the origin X position.
Returns the origin Y position.
Returns the total amount of the dragged gesture.
Returns the total amount of the dragged gesture.
Returns the current x
Returns the current y
Returns if the finger is currently dragged from the original position.
Returns if the finger is only pressed (no drag, no release).
Returns if the finger has been released from the screen.