Beispiel #1
0
 public void MoveBy(int x, int y)
 {
     Begin = Begin.MovedBy(x, y);
     End   = End.MovedBy(x, y);
 }
Beispiel #2
0
 public IDiagram MovedBy(int x, int y)
 {
     return(new Line(Begin.MovedBy(x, y), End.MovedBy(x, y)));
 }