Preparing search index...
The search index is not available
ts-browser-helpers
ts-browser-helpers
svgToPng
Function svgToPng
Renders an SVG to a png data url.
svgToPng
(
svgDataUrl
:
string
,
options
:
ImageCanvasOptions
)
:
Promise
<
string
>
Parameters
svgDataUrl
:
string
data url of the svg. Can be created with
svgUrl
options
:
ImageCanvasOptions
options
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-browser-helpers
Loading...
Renders an SVG to a png data url.