private static void show(IFigure f) {
   f.draw();
   System.out.println("My area : " + f.getArea());
   System.out.println("My girth : " + f.getGirth());
 }
 public void draw(IPainter painter) {
   figure.draw(painter);
 }