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

@ -7,10 +7,14 @@ around the point (`center`) that you pass it.
Just like the result of the [`Point.angle()`](reference/api/point/angle/) method, an angle of 0° points right, and the angle increases counterclockwise.
## Point.rotate() signature
```js
Point point.rotate(float angle, Point center)
```
## Point.rotate() example
<Example
part="point_rotate"
caption="An example of the Point.rotate() method"