TTFont

From GiderosMobile
Revision as of 13:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Supported platforms:
Available since: Gideros 2011.6
Inherits from: FontBase

Description

The TTFont class is used to load true type fonts.

Example

<syntaxhighlight lang="lua"> local font = TTFont.new("tahoma.ttf", 30) </source>

See also

CompositeFont

Methods

TTFont.new creates a new TTFont object

Events

Constants