1
0
Fork 0
freesewing/markdown/dev/howtos/code/adding-paths/en.md

23 lines
489 B
Markdown
Raw Normal View History

---
title: Adding paths
for: developers
icon: pattern
about: Shows you how to add paths to your pattern
---
2022-02-19 08:04:25 +01:00
After using the [shorthand](/howtos/code/shorthand/) call,
`Path` contains the path constructor, while `paths` is a reference to `part.paths`,
which is where you should store your paths.
2022-02-20 14:35:50 +01:00
Things will now _just work_ when you do this:
```js
paths.example = new Path()
```
<Tip>
The [Path API docs](/reference/api/path) list all the things you can do with a path object.
</Tip>