Beispiel #1
0
        protected override bool OnChange(object[] args)
        {
            if (!_selectRectangle)
            {
                _selectRectangle = SKPoint.Distance(_startPointControl, _currentPointControl) >= OperationOptions.RectangleToleranceRadius;
                if (_selectRectangle)
                {
                    _managerCursor.SetCursor(CursorType.ArrowSelectMany);
                    _operationLayer.AddDraw(DrawRect);
                }
            }

            if (_selectRectangle)
            {
                _operationLayer.Invalidate();
            }

            return(true);
        }
 protected override bool OnChange(object[] args)
 {
     _operationLayer.Invalidate();
     return(true);
 }