code: public java.awt.Graphics2D createGraphics(float width, float height, FontMapper fontMapper) {
          return new PdfGraphics2D(this, width, height, fontMapper, false, false, 0);
      }
docs: Gets a <CODE>Graphics2D</CODE> to write on. The graphics
  are translated to PDF commands.
  @param width the width of the panel
  @param height the height of the panel
  @param fontMapper the mapping from awt fonts to <CODE>BaseFont</CODE>
  @return a <CODE>Graphics2D</CODE>