/// <summary> /// Returns true if the mouse located at this position can drag the object. /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public override bool CanDrag(Double x, Double y) { if (_startMarker.Contains(x, y) || _endMarker.Contains(x, y)) { return(true); } return(false); }
/// <summary> /// Returns true if the mouse located at this position can drag the object. /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns></returns> public override bool CanDrag(Double x, Double y) { if (_leftBottomMarker.Contains(x, y) || _leftTopMarker.Contains(x, y) || _rightTopMarker.Contains(x, y) || _rightBottomMarker.Contains(x, y)) { return(true); } return(false); }