1
0
Fork 0
freesewing/markdown/dev/reference/snippets/logo/en.md
2022-10-02 18:04:20 +02:00

26 lines
451 B
Markdown

---
title: logo
---
The `logo` snippet inserts the FreeSewing logo.
It is provided by [plugin-logo](/reference/plugins/logo/).
## Example
<Example caption="An example of the logo snippet">
```js
({ Point, Path, paths, Snippet, snippets, part }) => {
snippets.demo = new Snippet('logo', new Point(0,0))
// Prevent clipping
paths.diag = new Path()
.move(new Point(-100,-40))
.move(new Point(100,20))
return part
}
```
</Example>