Exemplo n.º 1
0
        public TouchRect PushClickRect(Point point, IImage image, TouchTrigger touchTrigger, bool center = false)
        {
            var touchRect = new TouchRect(point.X, point.Y, image.Width, image.Height, touchTrigger, center);

            touchRects.Add(touchRect);
            return(touchRect);
        }
Exemplo n.º 2
0
 public void RemoveClickRect(TouchRect touchRect)
 {
     touchRects.Remove(touchRect);
 }
Exemplo n.º 3
0
 public TouchRect PushClickRect(TouchRect touchRect)
 {
     touchRects.Add(touchRect);
     return(touchRect);
 }
Exemplo n.º 4
0
 public void RemoveSwipeRect(TouchRect touchRect)
 {
     swipeRects.Remove(touchRect);
 }
Exemplo n.º 5
0
 public TouchRect PushSwipeRect(TouchRect touchRect)
 {
     swipeRects.Add(touchRect);
     return(touchRect);
 }