17 lines
447 B
Text
17 lines
447 B
Text
![]() |
---
|
||
|
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
|
||
|
|
||
|
```js
|
||
|
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)]`
|
||
|
|