public interface GGFlingListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
flingEvent(android.graphics.Point start,
android.graphics.Point end,
GGVector velocity)
Event callback method called when a fling event occurs.
|
boolean flingEvent(android.graphics.Point start,
android.graphics.Point end,
GGVector velocity)
start - the starting point of the fling relative to the
upper-left vertext of the visible window (same as
GGTouch.press event reports)end - the ending point of the fling relative to the
upper-left vertext of the visible window (same as
GGTouch.release event reports)velocity - the velocity of the fling in the x-y coordinate system
(in meter per seconds, zero at upper-left vertext of the visible window,
vx positive to the right, vy positive downwards)