public void Visit(Rectangle figure)
 {
     FigureDrawer.DrawRectangle(figure, Event);
 }
 public void Visit(LineSegment figure)
 {
     FigureDrawer.DrawLineSegment(figure, Event);
 }
 public void Visit(Rhomb figure)
 {
     FigureDrawer.DrawRhomb(figure, Event);
 }
 public void Visit(Ellipse figure)
 {
     FigureDrawer.DrawEllipse(figure, Event);
 }
 public void Visit(Square figure)
 {
     FigureDrawer.DrawSquare(figure, Event);
 }
 public void Visit(Circle figure)
 {
     FigureDrawer.DrawCircle(figure, Event);
 }