1
0
Fork 0
freesewing/markdown/dev/reference/api/utils/combinetransforms/en.md

447 B

title
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

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)]