more point docs updates
This commit is contained in:
parent
3b802a5b6a
commit
57048ecf1b
10 changed files with 63 additions and 38 deletions
|
@ -1,14 +1,15 @@
|
|||
---
|
||||
title: shift()
|
||||
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.
|
||||
|
||||
```js
|
||||
Point point.shift(float degrees, float distance)
|
||||
Point point.shift(float angle, float distance)
|
||||
```
|
||||
|
||||
Returns a point that lies distance in the direction of degrees from this point.
|
||||
|
||||
<Example
|
||||
<Example
|
||||
part="point_shift"
|
||||
caption="An example of the Point.shift() method"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue