translate method

DOMMatrix translate(
  1. double tx,
  2. double ty,
  3. double tz
)

Implementation

DOMMatrix translate(double tx, double ty, double tz) {
  Matrix4 m = _matrix4.clone()..translate(tx, ty, tz);
  bool flag2D = _is2D;
  if (tz != 0) {
    flag2D = false;
  }
  return DOMMatrix.fromMatrix4(BindingContext(ownerView, ownerView.contextId, allocateNewBindingObject()), m, flag2D);
}