コード例 #1
0
        public override void TouchesMoved(NSSet touches, UIEvent evt)
        {
            base.TouchesMoved(touches, evt);
            var touch = (UITouch)touches.AnyObject;
            var point = touch.LocationInView(touch.View);

            _paths.Last().AddLineTo(point);
            SetNeedsDisplay();
        }