registerOnTouchPinch method
Two pointers touch pinch event.
Two fingers touch mode is enabled by performing a single pointer touch immediately followed by two pointers down, with one of the pointers close to the previous touch.
Parameters
- IN start1 is the start position for first pointer
- IN start2 is the start position for second pointer
- IN end1 is the end position for first pointer
- IN end2 is the end position for second pointer
- IN center is the rotation center
Implementation
void registerOnTouchPinch(final TouchPinchCallback? touchPinchCallback) {
_touchPinchCallback = touchPinchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onTouchPinch',
touchPinchCallback == null,
);
}