pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
20 lines (19 loc) • 469 B
TypeScript
export class BaseCanvasFactory {
constructor({ enableHWA }: {
enableHWA?: boolean | undefined;
});
create(width: any, height: any): {
canvas: void;
context: any;
};
reset({ canvas }: {
canvas: any;
}, width: any, height: any): void;
destroy(canvasAndContext: any): void;
getNoAlphaContext(canvas: any): any;
/**
* @ignore
*/
_createCanvas(width: any, height: any): void;
#private;
}