Properties
Static
Debug
Debug: boolean = false
Methods
Static
GetBlob
- GetBlob(canvas, options?): Promise<Blob>
Parameters
canvas: HTMLCanvasElement
Returns Promise<Blob>
Static
GetClonedCanvas
- GetClonedCanvas(canvas, __namedParameters): Promise<HTMLCanvasElement>
Parameters
canvas: HTMLCanvasElement
Returns Promise<HTMLCanvasElement>
Static
GetDataUrl
- GetDataUrl(canvas, __namedParameters): Promise<string>
Parameters
canvas: HTMLCanvasElement
Returns Promise<string>
Static
GetFile
- GetFile(canvas, filename?, options?): Promise<string | File>
Parameters
canvas: HTMLCanvasElement
filename: string = 'image.png'
Returns Promise<string | File>
Static
GetImage
- GetImage(canvas, options?): Promise<HTMLImageElement>
Parameters
canvas: HTMLCanvasElement
Returns Promise<HTMLImageElement>