first commit

This commit is contained in:
Warunee Tamkoo 2023-09-06 14:51:44 +07:00
commit eb2f504652
32490 changed files with 5731109 additions and 0 deletions

16
node_modules/canvg/lib/Document/ImageElement.d.ts generated vendored Normal file
View file

@ -0,0 +1,16 @@
import { RenderingContext2D } from '../types';
import BoundingBox from '../BoundingBox';
import Document from './Document';
import RenderedElement from './RenderedElement';
export default class ImageElement extends RenderedElement {
type: string;
loaded: boolean;
protected readonly isSvg: boolean;
protected image: CanvasImageSource | string;
constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
protected loadImage(href: string): Promise<void>;
protected loadSvg(href: string): Promise<void>;
renderChildren(ctx: RenderingContext2D): void;
getBoundingBox(): BoundingBox;
}
//# sourceMappingURL=ImageElement.d.ts.map