Skip to content

Commit 872594f

Browse files
committed
Add links to p5.Font reference
1 parent d2fc4da commit 872594f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/typography/p5.Font.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ p5.Font = class {
3232
}
3333

3434
/**
35-
* Returns the bounding box for a string of text written in this font.
35+
* Returns the bounding box for a string of text written using this
36+
* <a href="#/p5.Font">p5.Font</a>.
3637
*
3738
* The first parameter, `str`, is a string of text. The second and third
3839
* parameters, `x` and `y`, are the text's position. By default, they set the
@@ -225,7 +226,8 @@ p5.Font = class {
225226
}
226227

227228
/**
228-
* Returns an array of points outlining a string of text.
229+
* Returns an array of points outlining a string of text written using this
230+
* <a href="#/p5.Font">p5.Font</a>.
229231
*
230232
* The first parameter, `str`, is a string of text. The second and third
231233
* parameters, `x` and `y`, are the text's position. By default, they set the

0 commit comments

Comments
 (0)