incrementWidth method

PRectangle incrementWidth(
  1. num n
)

Increments width by n.

Implementation

PRectangle incrementWidth(num n) => PRectangle(x, y, width + n, height);