Difference between revisions of "Path2D:setFontPath"

From GiderosMobile
Line 6: Line 6:
 
  Path2D:setFontPath(font,character)
 
  Path2D:setFontPath(font,character)
 
</source>
 
</source>
'''font''': (TTFont) Vector font to use ''''''<br/>
+
=== Parameters ===
'''character''': (string) character to use from font ''''''<br/>
+
'''font''': (TTFont) Vector font to use <br/>
 +
'''character''': (string) character to use from font <br/>

Revision as of 11:45, 23 August 2018

Available since: Gideros 2016.04

Description

Sets the path from the outline of a character in a TTFont.

 Path2D:setFontPath(font,character)

Parameters

font: (TTFont) Vector font to use
character: (string) character to use from font