code: public void add(Bounds bounds) {
          if (bounds.minX < minX) minX = bounds.minX;
          if (bounds.minY < minY) minY = bounds.minY;
          if (bounds.maxX > maxX) maxX = bounds.maxX;
          if (bounds.maxY > maxY) maxY = bounds.maxY;
      }
docs: Add one bounds to another.
  
  @param bounds other bounds