Skip to content

docs: document optional width/height params in p5.Font text methods. - #9429

Open
EyalHefer wants to merge 1 commit into
processing:mainfrom
EyalHefer:docs/font-optional-width-height
Open

EyalHefer wants to merge 1 commit into
processing:mainfrom
EyalHefer:docs/font-optional-width-height

Conversation

@EyalHefer

Copy link
Copy Markdown

Resolves #7820

Changes:

  • textToPoints and textToContours: added width and height params and updated the paragraph.
  • textToModel: added brackets to width and height and updated the paragraph.
  • textToPaths: added @param options. I didn't list its fields because graphics is internal.

PR Checklist

  • npm run lint passes
  • Inline reference is included / updated
  • Unit tests are included / updated

AI usage: Claude explained the code and reviewed the diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[p5.js 2.0 Bug Report]: width/height/options overloads inconsistent/incorrect for typography methods

1 participant