Files
med-notes/.pnpm-store/v10/files/8c/976d4e56993e2ea2c85a138f2ad01178940543664b0f0f941bbb06766dc0eff3a1057caca1653874c5ad2c28ff6be7eafb951fe66d9896469c26d99204bcb6
2025-05-09 05:30:08 +02:00

28 lines
731 B
Plaintext

export class BaseCanvasFactory {
constructor({ enableHWA }: {
enableHWA?: boolean | undefined;
});
create(width: any, height: any): {
canvas: void;
context: any;
};
reset(canvasAndContext: any, width: any, height: any): void;
destroy(canvasAndContext: any): void;
/**
* @ignore
*/
_createCanvas(width: any, height: any): void;
#private;
}
export class DOMCanvasFactory extends BaseCanvasFactory {
constructor({ ownerDocument, enableHWA }: {
ownerDocument?: Document | undefined;
enableHWA?: boolean | undefined;
});
_document: Document;
/**
* @ignore
*/
_createCanvas(width: any, height: any): HTMLCanvasElement;
}