setScale

fun setScale(sx: Float, sy: Float)(source)

The setScale() method of the SVGTransform interface sets the transform type to SVG_TRANSFORM_SCALE, with parameters sx and sy defining the scale amounts.

MDN Reference