public static interface OpenGLCanvas.GestureHandler
Modifier and Type | Method and Description |
---|---|
void |
onPinch(int ticks)
Invoked when the user pinches the screen or scroll with mouse wheel.
|
void |
onSwipe(boolean start,
int x,
int y,
boolean alt)
Invoked when the user swipes the screen or drags with the mouse.
|
void onPinch(int ticks)
ticks
- size of the pinch/scrollvoid onSwipe(boolean start, int x, int y, boolean alt)
start
- true if this is the first point of the swipex
- x-coordinate of the swipey
- y-coordinate of the swipealt
- true if the keyboard ALT key is presed (not available on
Android, obviously)