cnf
2025-05-10 386fa0eca75ddc88165f9b73038f2a2239e1072e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
}