Text::addFont()
Adds a font this text can switch to; the first one added is used.
Examples
Syntax
Java
.addFont(name, path)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the font's name |
| path | String | the TTF or OTF file |
Return
void
Adds a font this text can switch to; the first one added is used.
.addFont(name, path)
| Name | Data Type | Description |
|---|---|---|
| name | String | the font's name |
| path | String | the TTF or OTF file |
void