1
0
Fork 0
freesewing/markdown/dev/reference/api/path/en.md

23 lines
496 B
Markdown
Raw Normal View History

2021-10-17 17:34:55 +02:00
***
title: Path
order: 30
2021-10-17 17:34:55 +02:00
---------
2021-10-17 17:34:55 +02:00
A path represents an SVG path; The lines and curves on our pattern.
The Path constructor takes no arguments:
```js
Path new Path();
```
A Path objects comes with the following properties:
2021-10-17 17:34:55 +02:00
* `render` : Set this to `false` to not render the path (exclude it from the output)
* `attributes` : An [Attributes](/reference/api/attributes) instance holding the path's attributes
In addition, a Path object exposes the following methods:
<ReadMore list />