Difference between revisions of "Font"
From GiderosMobile
Tag: Undo |
|||
Line 36: | Line 36: | ||
|} | |} | ||
− | {{Font}} | + | ---- |
+ | {{Special:PrefixIndex/Font.}} | ||
+ | <br/> |
Revision as of 11:12, 4 December 2019
Supported platforms:
Available since: Gideros 2011.6
Inherits from: FontBase
Description
The Font class is used to load fonts created by "Gideros Font Creator".
Gideros Font Creator exports two files: a .txt file that specifies the positions of character glyph, and a .png file of font.
Examples
Use these two files to create `Font` object as:
local font = Font.new("font.txt", "font.png")
MethodsFont.getDefault Get default font |
EventsConstants |