TTFont: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 12: Line 12:
| style="width: 50%;"|
| style="width: 50%;"|
=== Methods ===
=== Methods ===
[[TTFont.new]] - creates a new TTFont object<br/>
[[TTFont.new]] {{<translate>creates a new TTFont object</translate>}}<br/>
| style="width: 50%;"|
| style="width: 50%;"|
=== Events ===
=== Events ===
=== Constants ===
=== Constants ===
|}
|}

Revision as of 13:19, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6

Description


The TTFont class is used to load true type fonts.

Examples

Example

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

Methods

TTFont.new Template:Creates a new TTFont object

Events

Constants