Example #1
0
 @Override
 public void setEnd(Point pt) {
   line.setEnd(pt);
   oval.setEnd(pt);
   rect.setEnd(pt);
 }
Example #2
0
 @Override
 public void Draw(Graphics2D g) {
   line.Draw(g);
   oval.Draw(g);
   rect.Draw(g);
 }
Example #3
0
 @Override
 public void setStart(Point pt) {
   line.setStart(pt);
   oval.setStart(pt);
   rect.setStart(pt);
 }