1 | import Target from './events/Target';
|
2 | import { Extent } from './extent';
|
3 | import ImageState from './ImageState';
|
4 |
|
5 | export default abstract class ImageBase extends Target {
|
6 | constructor(extent: Extent, resolution: number | undefined, pixelRatio: number, state: ImageState);
|
7 | protected extent: Extent;
|
8 | protected resolution: number;
|
9 | protected state: ImageState;
|
10 | protected changed(): void;
|
11 | getExtent(): Extent;
|
12 | abstract getImage(): HTMLCanvasElement | HTMLImageElement | HTMLVideoElement;
|
13 | getPixelRatio(): number;
|
14 | getResolution(): number;
|
15 | getState(): ImageState;
|
16 | /**
|
17 | * Load not yet loaded URI.
|
18 | */
|
19 | abstract load(): void;
|
20 | }
|