onPinchRotate abstract method
- GestureState state,
- Point2D pinchOrigin,
- Point2D rotationOrigin,
- double twoFingerDistance,
- Angle rotation,
Called when the pinch rotate gesture occurs.
-
stateDetermines in which state the gesture is. -
pinchOriginPosition where the pinch happened relative to the MapView in pixels. -
rotationOriginPosition where the rotation happened relative to the MapView in pixels. -
twoFingerDistanceDistance between the two fingers in pixels. -
rotationFingers rotation angle delta. Indicates how much the fingers rotation angle has changed since the previous gesture update. Clockwise finger rotation gives positive deltas, counter clockwise finger rotation gives negative deltas.
Implementation
void onPinchRotate(GestureState state, Point2D pinchOrigin, Point2D rotationOrigin, double twoFingerDistance, Angle rotation);