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