// move public string Move(double positionX, double positionY) { if (_isSelected == null && _isPressed) { SetShape(positionX - _firstPointX, positionY - _firstPointY); _model.NotifyModelChanged(); } else if (_isSelected != null) { SelectMode(positionX, positionY); _model.NotifyModelChanged(); if (_sizedMode == -1) { return(SIZE_ALL); } } if (_selected != -1 && _shapes.Count != 0 && _isSelected == null) { return(CheckAnchor(positionX, positionY)); } return(DEFAULT); }