Skip to content

Commit e4a138d

Browse files
authored
Merge pull request #2222 from meiamsome/bugfix/textToPoints
Make textToPoints visible on docs
2 parents fca0ab6 + 6f3b06e commit e4a138d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/typography/p5.Font.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ p5.Font.prototype.textBounds = function(str, x, y, fontSize, options) {
148148
/**
149149
* Computes an array of points following the path for specified text
150150
*
151+
* @method textToPoints
151152
* @param {String} txt a line of text
152153
* @param {Number} x x-position
153154
* @param {Number} y y-position

0 commit comments

Comments
 (0)