V1_commit_RGC
This commit is contained in:
23
SuiviREForamteur/node_modules/canvg/lib/presets/offscreen.d.ts
generated
vendored
Normal file
23
SuiviREForamteur/node_modules/canvg/lib/presets/offscreen.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { DOMParser } from './types';
|
||||
interface IConfig {
|
||||
/**
|
||||
* XML/HTML parser from string into DOM Document.
|
||||
*/
|
||||
DOMParser?: DOMParser;
|
||||
}
|
||||
/**
|
||||
* Options preset for `OffscreenCanvas`.
|
||||
* @param config - Preset requirements.
|
||||
* @param config.DOMParser - XML/HTML parser from string into DOM Document.
|
||||
* @returns Preset object.
|
||||
*/
|
||||
export declare function offscreen({ DOMParser: DOMParserFallback }?: IConfig): {
|
||||
window: null;
|
||||
ignoreAnimation: boolean;
|
||||
ignoreMouse: boolean;
|
||||
DOMParser: DOMParser;
|
||||
createCanvas(width: number, height: number): OffscreenCanvas;
|
||||
createImage(url: string): Promise<ImageBitmap>;
|
||||
};
|
||||
export {};
|
||||
//# sourceMappingURL=offscreen.d.ts.map
|
||||
Reference in New Issue
Block a user