Skip to main content

method DOMMatrix.rotateSelf

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

The rotateSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix. It rotates the source matrix around each of its axes by the specified number of degrees and returns the rotated matrix.

MDN Reference

Parameters #

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

Return Type #

Did you find what you needed?

Privacy policy