Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a PinchGesture gesture.
 /// </summary>
 /// <param name="recognizer">The gesture recognizer.</param>
 /// <param name="touch1">The first touch that started this gesture.</param>
 /// <param name="touch2">The second touch that started this gesture.</param>
 public PinchGesture(PinchGestureRecognizer recognizer, InputSystem.EnhancedTouch.Touch touch1, InputSystem.EnhancedTouch.Touch touch2)
     : this(recognizer, new CommonTouch(touch1), new CommonTouch(touch2))
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a PinchGesture gesture.
 /// </summary>
 /// <param name="recognizer">The gesture recognizer.</param>
 /// <param name="touch1">The first touch that started this gesture.</param>
 /// <param name="touch2">The second touch that started this gesture.</param>
 public PinchGesture(PinchGestureRecognizer recognizer, Touch touch1, Touch touch2)
     : this(recognizer, new CommonTouch(touch1), new CommonTouch(touch2))
 {
 }