setMatrix

fun setMatrix(matrix: DOMMatrixReadOnly = definedExternally)(source)

The setMatrix() method of the SVGTransform interface sets the transform type to SVG_TRANSFORM_MATRIX, with parameter matrix defining the new transformation.

MDN Reference