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