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

@ -4,6 +4,8 @@ title: Point.copy()
A point's `copy()` method returns a new point with the same coordinates as the original point.
This method does _not_ copy any attributes the original point may have.
## Point.copy() signature
```js
Point point.copy()
```
@ -17,6 +19,8 @@ To also copy the attributes, use [`Point.clone()`](reference/api/point/clone/) i
</Note>
## Point.copy() example
<Example
part="point_copy"
caption="An example of the Point.copy() method"