Difference between revisions of "TTFont"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 11: | Line 11: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
local font = TTFont.new("tahoma.ttf", 30) | local font = TTFont.new("tahoma.ttf", 30) | ||
− | </ | + | </syntaxhighlight> |
=== See also === | === See also === |
Latest revision as of 14:33, 13 July 2023
Supported platforms:
Available since: Gideros 2011.6
Inherits from: FontBase
Description
The TTFont class is used to load true type fonts.
Example
local font = TTFont.new("tahoma.ttf", 30)
See also
MethodsTTFont.new creates a new TTFont object |
EventsConstants |