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 | |
---|
1 | import { RenderingContext2D } from '../types';
|
---|
2 | import BoundingBox from '../BoundingBox';
|
---|
3 | import Document from './Document';
|
---|
4 | import RenderedElement from './RenderedElement';
|
---|
5 | export 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.