onPinchRotate abstract method

void onPinchRotate(
  1. GestureState state,
  2. Point2D pinchOrigin,
  3. Point2D rotationOrigin,
  4. double twoFingerDistance,
  5. Angle rotation,
)

Called when the pinch rotate gesture occurs.

  • state Determines in which state the gesture is.

  • pinchOrigin Position where the pinch happened relative to the MapView in pixels.

  • rotationOrigin Position where the rotation happened relative to the MapView in pixels.

  • twoFingerDistance Distance between the two fingers in pixels.

  • rotation Fingers 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);