|
RiTa index |
|
| Name | RiText.createDefaultFont() |
| Class | RiText |
| Description | Sets the default font for all RiTexts to be created (via
PApplet.createFont(String)).
Note: this is not a good idea for web-applets as the user's machine must have the specified font. Note: same PApplet#createDefaultFont(String, float) but also returns the created font. |
| Syntax | RiText.createDefaultFont(p, fontName, fontSize); |
| Returns | processing.core.PFont |
| Usage | Web & Application [static] |
| Related | |