utils.combineTransform()

The utils.combineTransform() function merges an array of SVG transformations into a single composite matrix transformation. Returns a single combined matrix transform string.

Signature

Javascript
string utils.combineTransforms(string[] transforms)

Parameters

The function only takes a single parameter i.e array of transform strings. Eg: ["scale(sfx, sfy)", rotate(angle), translate(tx, ty)]