Skip to main content

method DOMMatrix.scaleSelf

#DOMMatrix.scaleSelf(
scaleX?: number,
scaleY?: number,
scaleZ?: number,
originX?: number,
originY?: number,
originZ?: number,
): DOMMatrix

The scaleSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor, centered on the given origin, with a default origin of (0, 0), returning the scaled matrix.

MDN Reference

Parameters #

#scaleX: number
optional
#scaleY: number
optional
#scaleZ: number
optional
#originX: number
optional
#originY: number
optional
#originZ: number
optional

Return Type #

Did you find what you needed?

Privacy policy