UNPKG

pdfjs-dist

Version:

Generic build of Mozilla's PDF.js library.

49 lines (48 loc) 1.2 kB
export class BaseCanvasFactory { 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; } export class BaseCMapReaderFactory { constructor({ baseUrl, isCompressed }: { baseUrl?: null | undefined; isCompressed?: boolean | undefined; }); baseUrl: any; isCompressed: boolean; fetch({ name }: { name: any; }): Promise<any>; /** * @ignore */ _fetchData(url: any, compressionType: any): void; } export class BaseStandardFontDataFactory { constructor({ baseUrl }: { baseUrl?: null | undefined; }); baseUrl: any; fetch({ filename }: { filename: any; }): Promise<any>; /** * @ignore */ _fetchData(url: any): void; } export class BaseSVGFactory { create(width: any, height: any, skipDimensions?: boolean): void; createElement(type: any): void; /** * @ignore */ _createSVG(type: any): void; }