Beispiel #1
0
 public override void ContinueSketch(Point currentPoint)
 {
     this.Bounds = SketchUtilities.GetRectangleFromPoints(this.beginPoint, currentPoint);
 }
Beispiel #2
0
 public override void EndSketch(Point endPoint)
 {
     this.Bounds     = SketchUtilities.GetRectangleFromPoints(this.beginPoint, endPoint);
     this.BeginPoint = Point.Empty;
 }
Beispiel #3
0
 public override Rectangle GetBounds()
 {
     return(SketchUtilities.GetRectangleFromPoints(this.FromPoint, this.ToPoint));
 }