textFont()
Typography / Loading & DisplayingDescription
Sets the current font for text rendering.
Syntax
void textFont(const PFont& font)
void textFont(const PFont& font, float size)
Parameters
| Name | Type | Description |
|---|---|---|
| font | PFont | a PFont object |
| size | float | font size (optional) |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...