translate method
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);
}