inflate method

Rect inflate(
  1. int distance
)

Implementation

Rect inflate(int distance) {
  return Rect(x - distance, y - distance, width + (distance * 2),
      height + (distance * 2));
}