
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus setup. It's part of my efforts to simplify FreeSewing's setup so we can focus on our core value proposition.
16 lines
447 B
Text
16 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)]`
|
|
|