SVGSVGElement.CreateSVGTransformFromMatrix

SVGSVGElement.CreateSVGTransformFromMatrix method

Creates an SVGTransform object outside of any document trees. The object is initialized to the given matrix transform (i.e., SVG_TRANSFORM_MATRIX). The values from the parameter matrix are copied, the matrix parameter is not adopted as SVGTransform::matrix.

public SVGTransform CreateSVGTransformFromMatrix(SVGMatrix matrix)
ParameterTypeDescription
matrixSVGMatrixThe transform matrix.

Return Value

An SVGTransform object.

See Also