xpoints[i] += dy;
ypoints[i] += dy;
  public void translate(int dx, int dy)  {    int i = npoints;    while (--i >= 0)      {        xpoints[i] += dx;        xpoints[i] += dy;      }    if (bounds != null)      {        bounds.x += dx;        bounds.y += dy;      }    condensed = null;  }