inflatePoint method

GRect inflatePoint(
  1. GPoint point
)

Increases the size of the GRect object. This method is similar to the GRect.inflate method except it takes a point object as a parameter.

Implementation

GRect inflatePoint(GPoint point) {
  inflate(point.x, point.y);
  return this;
}