offset method

void offset(
  1. double dx,
  2. double dy
)

Implementation

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