Difference between revisions of "Path2D:setFontPath"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.04<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Sets the path from the outline of a character in a TTFont.</translate>
 
<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 ===
+
=== <translate>Parameters</translate> ===
 
'''font''': (TTFont) <translate>Vector font to use</translate> <br/>
 
'''font''': (TTFont) <translate>Vector font to use</translate> <br/>
 
'''character''': (string) <translate>character to use from font</translate> <br/>
 
'''character''': (string) <translate>character to use from font</translate> <br/>

Revision as of 08:28, 24 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