Skip to main content

method DOMMatrix.scale3dSelf

#DOMMatrix.scale3dSelf(
scale?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix

The scale3dSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor to all three axes, centered on the given origin, with a default origin of (0, 0, 0), returning the 3D-scaled matrix.

MDN Reference

Parameters #

#scale: number
optional
#originX: number
optional
#originY: number
optional
#originZ: number
optional

Return Type #

Did you find what you needed?

Privacy policy