}
  public void clearRect(int x, int y, int width, int height)  {    Paint savedForeground = getPaint();    setPaint(getBackground());    //System.err.println("clearRect transform type: " + transform.getType());    fillRect(x, y, width, height);    setPaint(savedForeground);  }