getSvgAsImage
See source codefunction getSvgAsImage(
svgString: string,
options: {
height: number
pixelRatio?: number
quality?: number
type: 'jpeg' | 'png' | 'webp'
width: number
}
): Promise<Blob | null>Parameters
| Name | Description |
|---|---|
| |
| |
Returns
Promise<Blob | null>Prev
getSnapshotNext
getSvgPathFromPoints