pixi-jsFunctions
Function: getSVGUrl()
> getSVGUrl(text, style, resolution, fontCSS, htmlTextData): string
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/getSVGUrl.d.ts:13
Internal
takes all the data and returns a svg url string can be loaded by an image element
Parameters
text
string
The text to measure
style
The style to use
resolution
number
The resolution to use
fontCSS
string
The font css to use
htmlTextData
The HTMLTextRenderData to write the SVG to
Returns
string
- The SVG as a url string