コード例 #1
0
        public override void OnMouseRightDown(Canvas canvas, float mouseX, float mouseY, bool isShiftKey, bool isCtrlKey)
        {
            _clickCount--;

            if (_clickCount == 0)
            {
                Cancel(canvas);
            }
            else
            {
                _polyline.RemoveAt(_polyline.Points.Count - 1);
            }
        }