public interface OnGestureListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDrag(float dx,
float dy)
拖拽
|
void |
onFling(float startX,
float startY,
float velocityX,
float velocityY)
移动
|
void |
onScale(float scaleFactor,
float focusX,
float focusY)
缩放
|
void onDrag(float dx,
float dy)
dx - dy - void onFling(float startX,
float startY,
float velocityX,
float velocityY)
startX - startY - velocityX - velocityY - void onScale(float scaleFactor,
float focusX,
float focusY)
scaleFactor - focusX - focusY -