protected virtual void OnTerminated(object sender, Gesture_Event_Args gEventArgs) { foreach (My_Point point in gEventArgs.GesturePoints) { Point_List.ReleasePoint(point.ID); } Terminated(sender, gEventArgs); }
public My_Point TouchUp(TouchDevice touchDevice, TouchPoint touchPoint) { if (control.MainWindow.GestureIndicatorLayer.Contain(touchDevice.Id)) { control.MainWindow.GestureIndicatorLayer.Remove(touchDevice.Id); } My_Point point = Point_List.ReleasePoint(touchDevice.Id); if (!isTouched()) { control.MainWindow.GestureIndicatorLayer.Clear(); } return(point); }
public void ReleasePoint(int pointIndex) { Point_List.ReleasePoint(pointIndex); }