Path2D:setFontPath: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2016.04<br/>
'''Available since:''' Gideros 2016.04<br/>
=== Description ===
=== Description ===
Sets the path from the outline of a character in a TTFont.
<translate>Sets the path from the outline of a character in a TTFont.</translate>
<source lang="lua">
<source lang="lua">
  Path2D:setFontPath(font,character)
  Path2D:setFontPath(font,character)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''font''': (TTFont) Vector font to use <br/>
'''font''': (TTFont) <translate>Vector font to use</translate> <br/>
'''character''': (string) character to use from font <br/>
'''character''': (string) <translate>character to use from font</translate> <br/>

Revision as of 12:34, 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