Пример #1
0
 public Gesture OnPointerDown(PointerId pointerId, Vector2 position)
 {
     gesture.GestureType = GestureType.PointerDown;
     gesture.PointerId   = pointerId;
     gesture.Position    = position;
     gesture.SetCursor   = CursorType.Default;
     return(gesture);
 }
Пример #2
0
 public Gesture OnPointerCancel(PointerId pointerId)
 {
     gesture.GestureType = GestureType.CancelPointer;
     gesture.PointerId   = pointerId;
     gesture.Position    = Vector2.Zero;
     gesture.SetCursor   = CursorType.Default;
     return(gesture);
 }