Path2D:setFontPath: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 09: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