code: public void grow (double dx, double dy) {
          x -= dx;
          y -= dy;
          width += dx + dx;
          height += dy + dy;
      }
docs: Grows the bounds of this rectangle by the specified amount (i.e. the upper-left corner moves
  by the specified amount in the negative x and y direction and the width and height grow by
  twice the specified amount).