Difference between revisions of "Path2D:setFontPath"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.04<br/> === Description === Sets the path from the outline of a character in a TTFont. <source lang="lua"> = Path2D:setFontPath(f...")
 
Line 4: Line 4:
 
Sets the path from the outline of a character in a TTFont.
 
Sets the path from the outline of a character in a TTFont.
 
<source lang="lua">
 
<source lang="lua">
= Path2D:setFontPath(fontcharacter,)
+
Path2D:setFontPath(font,character)
 
</source>
 
</source>
'''font:''' (TTFont) Vector font to use ''''''<br/>
+
'''font''': (TTFont) Vector font to use ''''''<br/>
'''character:''' (string) character to use from font ''''''<br/>
+
'''character''': (string) character to use from font ''''''<br/>

Revision as of 11:21, 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)

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