rotateZ method

DOMMatrix rotateZ(
  1. double x
)

Implementation

DOMMatrix rotateZ(double x) {
  // rotate(-90) => rotateZ(-90)
  double xRad = x * degrees2Radians;
  Matrix4 m = _matrix4.clone()..rotateZ(xRad);
  return DOMMatrix.fromMatrix4(BindingContext(ownerView, ownerView.contextId, allocateNewBindingObject()), m, _is2D);
}