mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
382 B
TypeScript
11 lines
382 B
TypeScript
import { Extent } from './extent';
|
|
import ImageBase from './ImageBase';
|
|
|
|
export type Loader = (p0: (p0?: Error) => void) => void;
|
|
export default class ImageCanvas extends ImageBase {
|
|
constructor(extent: Extent, resolution: number, pixelRatio: number, canvas: HTMLCanvasElement, opt_loader?: Loader);
|
|
getError(): Error;
|
|
getImage(): HTMLCanvasElement;
|
|
load(): void;
|
|
}
|