svgcanvas/types/image.d.ts

13 lines
445 B
TypeScript
Raw Permalink Normal View History

2025-03-09 10:37:06 +02:00
export default utils;
declare const utils: ImageUtils;
declare class ImageUtils {
/**
* Convert svg dataurl to canvas element
*
* @private
*/
private svg2canvas;
toDataURL(svgNode: any, width: any, height: any, type: any, encoderOptions: any, options: any): string | Promise<string>;
getImageData(svgNode: any, width: any, height: any, sx: any, sy: any, sw: any, sh: any, options: any): Promise<ImageData>;
}