示例#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);
        }
示例#2
0
 public void RemoveClickRect(TouchRect touchRect)
 {
     touchRects.Remove(touchRect);
 }
示例#3
0
 public TouchRect PushClickRect(TouchRect touchRect)
 {
     touchRects.Add(touchRect);
     return(touchRect);
 }
示例#4
0
 public void RemoveSwipeRect(TouchRect touchRect)
 {
     swipeRects.Remove(touchRect);
 }
示例#5
0
 public TouchRect PushSwipeRect(TouchRect touchRect)
 {
     swipeRects.Add(touchRect);
     return(touchRect);
 }