if ((tx == 0) || (ty == 0)) { directGfx.fillPolygon(xPoints, yPoints, nPoints); return; }  throw new UnsupportedOperationException("translate not implemented");
directGfx.fillPolygon (xPoints, yPoints, nPoints, tx, ty);
  public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)  {    if ((tx == 0) || (ty == 0))      {	directGfx.fillPolygon(xPoints, yPoints, nPoints);	return;      }        throw new UnsupportedOperationException("translate not implemented");  }