1
0
Fork 0

add subheadings for consistency

This commit is contained in:
Sanne Kalkman 2021-11-06 19:03:54 +01:00
parent fbd4b4d5f2
commit 1a7ae1d669
16 changed files with 64 additions and 0 deletions

View file

@ -5,10 +5,14 @@ title: Point.shift()
Returns a new `Point` that is `distance` (mm) away in the direction of `angle` (degrees).
An angle of 0° points to the right, and the angle increases counterclockwise.
## Point.shift() signature
```js
Point point.shift(float angle, float distance)
```
## Point.shift() example
<Example
part="point_shift"
caption="An example of the Point.shift() method"