@Override public void setEnd(Point pt) { line.setEnd(pt); oval.setEnd(pt); rect.setEnd(pt); }
@Override public void Draw(Graphics2D g) { line.Draw(g); oval.Draw(g); rect.Draw(g); }
@Override public void setStart(Point pt) { line.setStart(pt); oval.setStart(pt); rect.setStart(pt); }