DefinitelyTyped/types/ol/ImageBase.d.ts
2019-06-24 12:37:41 -07:00

18 lines
585 B
TypeScript

import Target from './events/Target';
import { Extent } from './extent';
import ImageState from './ImageState';
export default class ImageBase extends Target {
constructor(extent: Extent, resolution: number, pixelRatio: number, state: ImageState);
protected extent: Extent;
protected resolution: number;
protected state: ImageState;
protected changed(): void;
getExtent(): Extent;
getImage(): HTMLCanvasElement | HTMLImageElement | HTMLVideoElement;
getPixelRatio(): number;
getResolution(): number;
getState(): ImageState;
load(): void;
}