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); }
public void RemoveClickRect(TouchRect touchRect) { touchRects.Remove(touchRect); }
public TouchRect PushClickRect(TouchRect touchRect) { touchRects.Add(touchRect); return(touchRect); }
public void RemoveSwipeRect(TouchRect touchRect) { swipeRects.Remove(touchRect); }
public TouchRect PushSwipeRect(TouchRect touchRect) { swipeRects.Add(touchRect); return(touchRect); }