示例#1
0
        /// Rectangle touch test
        public bool TouchMove(TouchData touchData)
        {
            if (touchData.Status == TouchStatus.Move)
            {
                return(InsideRect(SampleDraw.TouchPixelX(touchData),
                                  SampleDraw.TouchPixelY(touchData)));
            }

            return(false);
        }