added documentation to two new methods in the utils section of API
This commit is contained in:
parent
8a8074da86
commit
7ed4d4e249
2 changed files with 34 additions and 0 deletions
16
markdown/dev/reference/api/utils/combinetransforms/en.md
Normal file
16
markdown/dev/reference/api/utils/combinetransforms/en.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
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)]`
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue