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