fix: Broken links to the API reference
This commit is contained in:
parent
f0761cecf9
commit
c83d618ad3
21 changed files with 33 additions and 33 deletions
|
@ -14,7 +14,7 @@ Point point.clone()
|
|||
|
||||
###### Copy vs clone
|
||||
|
||||
The [`Point.copy()`](reference/api/point/copy/) method will only copy the point's coordinates, whereas this
|
||||
The [`Point.copy()`](/reference/api/point/copy/) method will only copy the point's coordinates, whereas this
|
||||
`Point.clone()` method will also copy its attributes.
|
||||
|
||||
</Note>
|
||||
|
|
|
@ -16,7 +16,7 @@ Point point.copy()
|
|||
###### Copy vs clone
|
||||
|
||||
this `Point.copy()` method will only copy the point's coordinates.
|
||||
To also copy the attributes, use [`Point.clone()`](reference/api/point/clone/) instead.
|
||||
To also copy the attributes, use [`Point.clone()`](/reference/api/point/clone/) instead.
|
||||
|
||||
</Note>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ title: Point.rotate()
|
|||
A point's `rotate()` method returns a new `Point` that has been rotated by `angle` degrees
|
||||
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.
|
||||
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
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ point and the target.
|
|||
This method accepts values larger than 1 to go beyond the target point, or negative values to shift the
|
||||
point in the opposite direction.
|
||||
|
||||
If you need to move a point by a specific distance instead of a percentage, use [`Point.shiftTowards()`](\(reference/api/point/shifttowards/\)) or [`Point.shiftOutwards()`](reference/api/point/shiftoutwards/) instead.
|
||||
If you need to move a point by a specific distance instead of a percentage, use [`Point.shiftTowards()`](/reference/api/point/shifttowards/) or [`Point.shiftOutwards()`](/reference/api/point/shiftoutwards/) instead.
|
||||
|
||||
## Point.shiftFractionTowards() signature
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ title: Point.shiftTowards()
|
|||
|
||||
Returns a new `Point` that is shifted `distance` (mm) in the direction of the `target`.
|
||||
|
||||
If you need to move a point a percentage instead of a specific distance, use [`Point.shiftFractionTowards()`](reference/api/point/shiftfractiontowards/) instead.
|
||||
If you need to move a point a percentage instead of a specific distance, use [`Point.shiftFractionTowards()`](/reference/api/point/shiftfractiontowards/) instead.
|
||||
|
||||
## Point.shiftTowards() signature
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue