getSvgAsImage
Public function
Signature
function getSvgAsImage(
svgString: string,
isSafari: boolean,
options: {
height: number
quality: number
scale: number
type: 'jpeg' | 'png' | 'webp'
width: number
}
): Promise<Blob | null>
Parameters
Name | Description |
---|---|
|
|
|
|
|
|
Returns
Promise<Blob | null>
Source