TTFont: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
<source lang="lua">local font = TTFont.new("tahoma.ttf", 30)</source> | <source lang="lua">local font = TTFont.new("tahoma.ttf", 30)</source> | ||
{|- | {|- | ||
| style="width: 50%;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
[[TTFont.new]] | [[TTFont.new]] ''<translate>creates a new TTFont object</translate>''<br/> | ||
| style="width: 50%;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} | ||
Revision as of 13:31, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The TTFont class is used to load true type fonts.
Examples
Example
local font = TTFont.new("tahoma.ttf", 30)
MethodsTTFont.new creates a new TTFont object |
EventsConstants |