incrementXY method

PRectangle incrementXY(
  1. num nX,
  2. num nY
)

Increments x,y by nX,nY,

Implementation

PRectangle incrementXY(num nX, num nY) =>
    PRectangle(x + nX, y + nY, width, height);