chore: Linting for markdown and js
This commit is contained in:
parent
eca8199ed8
commit
1c92e0f655
6677 changed files with 24391 additions and 25987 deletions
|
@ -1,24 +1,23 @@
|
|||
---
|
||||
title: move()
|
||||
---
|
||||
***
|
||||
|
||||
## title: move()
|
||||
|
||||
```js
|
||||
Path path.move(Point to)
|
||||
```
|
||||
|
||||
Moves to a given point without drawing a line.
|
||||
|
||||
Moves to a given point without drawing a line.
|
||||
|
||||
<Tip>
|
||||
|
||||
###### Always start your path with a move
|
||||
|
||||
When drawing a path, you must always start with a `move()` call,
|
||||
When drawing a path, you must always start with a `move()` call,
|
||||
followed by your `line()` and/or `curve()` calls
|
||||
and an optional `close()` call.
|
||||
|
||||
These calls are chainable, making your code easier to read:
|
||||
|
||||
|
||||
```js
|
||||
paths.example = new Path()
|
||||
.move(points.a)
|
||||
|
@ -29,7 +28,6 @@ paths.example = new Path()
|
|||
|
||||
</Tip>
|
||||
|
||||
|
||||
<Example part="path_move" caption="Example of the Path.move() method" />
|
||||
|
||||
```js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue