1
0
Fork 0

fix: Broken links to the API reference

This commit is contained in:
nikhil 2022-08-20 18:07:26 -04:00
parent f0761cecf9
commit c83d618ad3
21 changed files with 33 additions and 33 deletions

View file

@ -11,7 +11,7 @@ Point | false utils.beamsIntersect(
)
```
Finds the intersection between two endless lines (beams). Returns a [Point](#point) object
Finds the intersection between two endless lines (beams). Returns a [Point](../point) object
for the intersection, or `false` if the lines don't intersect.
<Example part="utils_beamsintersect">

View file

@ -14,7 +14,7 @@ array | Point | false utils.curveIntersectsX(
Finds the point(s) where a curve intersects a given X-value.
This is a low-level variant
of [`Path.intersectsX()`](/reference/api/path/#pathintersectsx).
of [`Path.intersectsX()`](/reference/api/path#intersectsx).
Instead of a path, you describe a single curve by passing the four
points that describes it.

View file

@ -14,7 +14,7 @@ array | Point | false utils.curveIntersectsY(
Finds the point(s) where a curve intersects a given Y-value.
This is a low-level variant
of [`Path.intersectsY()`](/reference/api/path/#pathintersectsy).
of [`Path.intersectsY()`](/reference/api/path#intersectsy).
Instead of a path, you describe a single curve by passing the four
points that describes it.

View file

@ -11,7 +11,7 @@ Point | false utils.linesIntersect(
)
```
Finds the intersection between two line segments. Returns a [Point](#point) object
Finds the intersection between two line segments. Returns a [Point](../point) object
for the intersection, or `false` if the lines don't intersect.
<Example part="utils_linesintersect">

View file

@ -13,7 +13,7 @@ bool utils.pointOnLine(
Returns `true` if the point `check` lies on a line segment from point `from` to point `to`.
The fourth parameter controls the precision. See [pointOnBeam](#utilspointonbeam).
The fourth parameter controls the precision. See [pointOnBeam](/reference/api/utils/pointonbeam).
<Example part="utils_pointonline">
A Utils.pointOnLine() example