Path2D:setFontPath: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 11: Line 11:
'''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/>
{{Path2D}}

Revision as of 21:27, 3 December 2019


Available since: Gideros 2016.04
Class: Path2D

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