Difference between revisions of "TTFont"

From GiderosMobile
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
The [[TTFont]] class is used to load true type fonts. <br />
+
The [[Special:MyLanguage/TTFont|TTFont]] class is used to load true type fonts. <br />
 
<br /></translate>
 
<br /></translate>
 
=== Examples ===
 
=== Examples ===
Line 12: Line 12:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== Methods ===
 
=== Methods ===
[[TTFont.new]] ''<translate>creates a new TTFont object</translate>''<br/>
+
[[Special:MyLanguage/TTFont.new|TTFont.new]] ''<translate>creates a new TTFont object</translate>''<br/>
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 17:35, 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