translate method

PwOffset translate(
  1. double x,
  2. double y
)

translate API.

Implementation

PwOffset translate(double x, double y) => PwOffset(dx + x, dy + y);