Skip to main content

method DOMMatrixReadOnly.rotate

#DOMMatrixReadOnly.rotate(
rotX?: number,
rotY?: number,
rotZ?: number,
): DOMMatrix

The rotate() method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix around each of its axes by the specified number of degrees. The original matrix is not altered.

MDN Reference

Parameters #

#rotX: number
optional
#rotY: number
optional
#rotZ: number
optional

Return Type #

Did you find what you needed?

Privacy policy