1 | import { Extent } from './extent';
|
2 | import ImageBase from './ImageBase';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export type Loader = (p0: (p0?: Error) => void) => void;
|
11 | export default class ImageCanvas extends ImageBase {
|
12 | constructor(extent: Extent, resolution: number, pixelRatio: number, canvas: HTMLCanvasElement, opt_loader?: Loader);
|
13 | /**
|
14 | * Get any error associated with asynchronous rendering.
|
15 | */
|
16 | getError(): Error;
|
17 | getImage(): HTMLCanvasElement;
|
18 | /**
|
19 | * Load not yet loaded URI.
|
20 | */
|
21 | load(): void;
|
22 | }
|