translate method

void translate (double x, [ double y = 0.0, double z = 0.0 ])

Concatenates a translation by (x, y, z) into the transform.

Implementation

void translate(double x, [double y = 0.0, double z = 0.0]) {
  _transform.translate(x, y, z);
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}