TTFont

From GiderosMobile
Revision as of 15:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
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

CompositeFont

Methods

TTFont.new creates a new TTFont object

Events

Constants