createScaleMatrix
createScaleMatrix(
x
,y?
):TMat2D
Defined in: src/util/misc/matrix.ts:200
Generate a scale matrix around the point (0,0)
A matrix in the form of [x 0 0] [0 y 0] [0 0 1]
Parameters
Section titled “Parameters”number
scale on X axis
number
= x
scale on Y axis
Returns
Section titled “Returns”matrix
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform#scale