Function CreateTextShapePaths
-
CreateTextShapePaths(
text: string,
size: number,
resolution: number,
fontData: IFontData,
): ShapePath[]Parameters
- text: string
the text
- size: number
size of the font
- resolution: number
resolution of the font
- fontData: IFontData
defines the font data (can be generated with http://gero3.github.io/facetype.js/)
Returns ShapePath[]
array of ShapePath objects
- text: string
Creates shape paths from a text and font