Text::addFont()
Adds a new font to the list of fonts if it does not already exist.
Syntax
Java
.addFont(name, path)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the name of the font to be added |
| path | String | the path to the font file |
Return
void
