source: imaps-frontend/node_modules/canvg/lib/Document/ImageElement.d.ts@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 695 bytes
Line 
1import { RenderingContext2D } from '../types';
2import BoundingBox from '../BoundingBox';
3import Document from './Document';
4import RenderedElement from './RenderedElement';
5export default class ImageElement extends RenderedElement {
6 type: string;
7 loaded: boolean;
8 protected readonly isSvg: boolean;
9 protected image: CanvasImageSource | string;
10 constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
11 protected loadImage(href: string): Promise<void>;
12 protected loadSvg(href: string): Promise<void>;
13 renderChildren(ctx: RenderingContext2D): void;
14 getBoundingBox(): BoundingBox;
15}
16//# sourceMappingURL=ImageElement.d.ts.map
Note: See TracBrowser for help on using the repository browser.