add subheadings for consistency
This commit is contained in:
parent
fbd4b4d5f2
commit
1a7ae1d669
16 changed files with 64 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue