fix(docs): Corrections to Points documentation
This commit is contained in:
parent
3a15f7a730
commit
2dea45febd
4 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ Point objects come with the following properties:
|
|||
|
||||
- `x` : The X-coordinate of the point
|
||||
- `y` : The Y-coordinate of the point
|
||||
- `attributes` : An [Attributes](../attributes) instance holding the point's attributes
|
||||
- `attributes` : An [Attributes](/reference/api/attributes) instance holding the point's attributes
|
||||
|
||||
## Example
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ Point point.rotate(float angle, Point center)
|
|||
|
||||
## Example
|
||||
|
||||
<Example caption="An example of the4Point.rotate() method">
|
||||
<Example caption="An example of the Point.rotate() method">
|
||||
```js
|
||||
({ Point, points, Path, paths, Snippet, snippets, part }) => {
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Point point.setCircle(
|
|||
|
||||
## Example
|
||||
|
||||
<Example caption="Examples of Point.setCircle(), compare this to [Point.addCircle](/reference/api/point/addcircle)">
|
||||
<Example caption="Examples of Point.setCircle(), compare this to [Point.addCircle()](/reference/api/point/addcircle)">
|
||||
```js
|
||||
({ Point, points, part }) => {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Point point.setText(
|
|||
|
||||
## Example
|
||||
|
||||
<Example caption="Examples of Point.setText(), compare this to [Point.setText](/reference/api/point/settext)">
|
||||
<Example caption="Examples of Point.setText(), compare this to [Point.setText()](/reference/api/point/settext)">
|
||||
```js
|
||||
({ Point, points, Path, paths, part }) => {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue