protected override bool OnStart(object[] args) { _managerCursor.SetCursor(CursorType.ArrowMove); _moveObjects = _selectableController.Value; _operationLayer.AddDraw(MoveDraw); return(true); }
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); }