createFont()
Typography / Loading & DisplayingDescription
Creates a PFont from a system font name and size.
Syntax
PFont* createFont(std::string name, float size, bool smooth)
Parameters
| Name | Type | Description |
|---|---|---|
| name | std::string | font name |
| size | float | font size |
| smooth | bool | whether to anti-alias (default true) |
Returns
PFont*Related
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...