public class RotateGestureDetector extends TwoFingerGestureDetector
Modifier and Type | Class and Description |
---|---|
static interface |
RotateGestureDetector.OnRotateGestureListener
Listener which must be implemented which is used by RotateGestureDetector
to perform callbacks to any implementing class which is registered to a
RotateGestureDetector via the constructor.
|
static class |
RotateGestureDetector.SimpleOnRotateGestureListener
Helper class which may be extended and where the methods may be
implemented.
|
Constructor and Description |
---|
RotateGestureDetector(android.content.Context context,
RotateGestureDetector.OnRotateGestureListener listener) |
Modifier and Type | Method and Description |
---|---|
float |
getFocusX() |
float |
getFocusY() |
float |
getRotationDegreesDelta()
Return the rotation difference from the previous rotate event to the current
event.
|
float |
getRotationRadiansDelta()
Return the rotation difference from the previous rotate event to the current
event.
|
getCurrentSpan, getCurrentSpanX, getCurrentSpanY, getPreviousSpan, getPreviousSpanX, getPreviousSpanY
getEventTime, getTimeDelta, isInProgress, onTouchEvent
public RotateGestureDetector(android.content.Context context, RotateGestureDetector.OnRotateGestureListener listener)
public float getFocusX()
public float getFocusY()
public float getRotationRadiansDelta()
public float getRotationDegreesDelta()