on Pinch
Two pointers pinch event. A two pointers pinch event is defined as two pointers down, followed by moving one or both pointers toward or away from each other.
Parameters
is the previous position for first pointer
is the previous position for second pointer
is the current position for first pointer
is the current position for second pointer
is the rotation center
Two pointers pinch event. Lambda Signature: (start1: Xy, start2: Xy, end1: Xy, end2: Xy, center: Xy) -> Unit A two pointers pinch event is defined as two pointers down, followed by moving one or both pointers toward or away from each other.
Parameters
is the previous position for first pointer
is the previous position for second pointer
is the current position for first pointer
is the current position for second pointer
is the rotation center