decrement method

Position decrement(
  1. WithXY p
)

Increments the X,Y coordinates by p.

Implementation

Position decrement(WithXY p) => incrementXY(-p.x, -p.y);