pixel = new int[4];
  protected AbstractGraphics2D()  {    transform = new AffineTransform();    background = Color.WHITE;    composite = AlphaComposite.SrcOver;    stroke = new BasicStroke();    HashMap hints = new HashMap();    hints.put(RenderingHints.KEY_TEXT_ANTIALIASING,              RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT);    hints.put(RenderingHints.KEY_ANTIALIASING,              RenderingHints.VALUE_ANTIALIAS_DEFAULT);    renderingHints = new RenderingHints(hints);    pixel = new int[4];  }