예제 #1
0
        private bool OnTouch(SkTouchAction action, UITouch touch)
        {
            var id       = touch.Handle.ToInt64();
            var current  = touch.LocationInView(this);
            var location = new SKPoint(ToPixels(current.X), ToPixels(current.Y));
            var handled  = OnTouch(id, action, location);

            return(handled);
        }
예제 #2
0
 protected virtual bool OnTouch(long id, SkTouchAction action, SKPoint location)
 {
     return(false);
 }