← Back to release summary

DOMMatrixReadOnly.scaleNonUniform()

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 73)
Intent stage
None

Summary

This function post-multiplies a non-uniform scale transformation on the current matrix and returns the resulting matrix. It is being re-added to support legacy compatibility with SVGMatrix. Non-uniform scaling is a transformation in which at least one of the scaling factors is different from the others. For example, non-uniform scaling might turn a rectangle into a square or a parallelogram.

Standards & signals

View on chromestatus.com