Path2D:setFontPath

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2016.04
Class: Path2D

Description

Sets the path from the outline of a character in a TTFont. <syntaxhighlight lang="lua"> Path2D:setFontPath(font,character) </source>

Parameters

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