Difference between revisions of "TTFont"

From GiderosMobile
Line 3: Line 3:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
The `TTFont` class is used to load true type fonts. <br />
+
The [[[TTFont]]] class is used to load true type fonts. <br />
<br />
+
<br /></translate>
 
=== Examples ===
 
=== Examples ===
 
'''Example'''<br/>
 
'''Example'''<br/>

Revision as of 13:34, 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 - creates a new TTFont object

Events

Constants