translate method

PRectangle translate(
  1. num x,
  2. num y
)

Translate this rectangle.

Implementation

PRectangle translate(num x, num y) => incrementXY(x, y);