translate abstract method

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

Moves the element by (dx, dy) relative to its current location.

Implementation

void translate(double dx, double dy);