incrementX method

PRectangle incrementX(
  1. num n
)

Increments x by n.

Implementation

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