translate method

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

Implementation

void translate(double x, double y) {
  _matrix.translate(x, y);
  addAction((Canvas canvas, Size size) {
    canvas.translate(x, y);
  });
}