Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text related core functions #55

Open
1 of 17 tasks
jfacorro opened this issue Nov 8, 2021 · 0 comments
Open
1 of 17 tasks

Text related core functions #55

jfacorro opened this issue Nov 8, 2021 · 0 comments

Comments

@jfacorro
Copy link
Member

jfacorro commented Nov 8, 2021

  • available-fonts - "A sequence of strings representing the fonts on this system available for use"
  • create-font - "Dynamically converts a font to the format used by Processing (a PFont) from either a font name that's installed on the computer, or from a "
  • font-available? - "Returns true if font (specified as a string) is available on this system, false otherwise"
  • horizontal-alignment-modes
  • load-font - "Loads a font into a variable of type PFont"
  • text - "Draws text to the screen in the position specified by the x and y parameters and the optional z parameter"
  • text-align - "Sets the current alignment for drawing text"
  • text-ascent - "Returns the ascent of the current font at its current size"
  • text-char - "Draws a char to the screen in the specified position"
  • text-descent - "Returns descent of the current font at its current size"
  • text-font - "Sets the current font that will be drawn with the text function"
  • text-leading - "Sets the spacing between lines of text in units of pixels"
  • text-mode - "Sets the way text draws to the screen - available modes are :model and :shape In the default configuration (the :model mode), it's possible to rotate, scale, and place letters in two and three dimensional space"
  • text-num - "Draws a number to the screen in the specified position"
  • text-size - "Sets the current font size"
  • text-width - "Calculates and returns the width of any text string"
  • vertical-alignment-modes
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

No branches or pull requests

1 participant