void offset(T dx, T dy)

Offsets this Point by the specified amount.

Source

void offset(T dx, T dy) {
  x += dx;
  y += dy;
}