TTFont

From GiderosMobile
Revision as of 09:29, 24 August 2018 by Hgy29 (talk | contribs)

Supported platforms: File:Platform androidFile:Platform iosFile:Platform macFile:Platform pc
Available since: Gideros 2011.6
Inherits from: FontBase

Description


The `TTFont` class is used to load true type fonts.

Examples

Example

local font = TTFont.new("tahoma.ttf", 30)

Methods

TTFont.new creates a new TTFont object

Events

Constants