Skip to content

Commit f7a2eab

Browse files
authored
Merge pull request #3664 from Niels-NTG/patch-1
Fix default value in textToPoints doc
2 parents 9372b29 + 98001f4 commit f7a2eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typography/p5.Font.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ p5.Font.prototype.textBounds = function(str, x, y, fontSize, opts) {
164164
* @param {Object} [options] an (optional) object that can contain:
165165
*
166166
* <br>sampleFactor - the ratio of path-length to number of samples
167-
* (default=.25); higher values yield more points and are therefore
167+
* (default=.1); higher values yield more points and are therefore
168168
* more precise
169169
*
170170
* <br>simplifyThreshold - if set to a non-zero value, collinear points will be

0 commit comments

Comments
 (0)