MMKGestureFocusPointMode

enum MMKGestureFocusPointMode : NSUInteger {}

Specifies the way provided zoom focus point affects gestures.

Summary

Enum cases

MMKGestureFocusPointModeAffectsTapGestures
Only "double tap" (zoom in) and "tap with two fingers" (zoom out) use provided gesture focus point

MMKGestureFocusPointModeAffectsAllGestures
All gestures: pinch and stretch, tap and swipe, double tap, tap with two fingers, rotation use provided gesture focus point and ignore their source point

Enum cases

MMKGestureFocusPointModeAffectsTapGestures

MMKGestureFocusPointModeAffectsTapGestures

Only "double tap" (zoom in) and "tap with two fingers" (zoom out) use provided gesture focus point. Other gestures ignore it and continue to use their source point for transformation.


MMKGestureFocusPointModeAffectsAllGestures

MMKGestureFocusPointModeAffectsAllGestures

All gestures: pinch and stretch, tap and swipe, double tap, tap with two fingers, rotation use provided gesture focus point and ignore their source point. Scroll is suppressed when this mode is on and "pinch and stretch" or "rotation" gesture performed