Files
DefinitelyTyped/types/ol/ImageBase.d.ts
Rifa'i M. Hanif 1dcb8e6da3 [@types/ol] Update to openlayers 5.3 (#35445)
* [@types/ol] Update to openlayers 5.3

* [@types/ol] fix case sensitive

* [@types/ol] fix case sensitive
2019-05-24 13:42:05 -07:00

17 lines
587 B
TypeScript

import Target from 'ol/events/Target';
import { Extent } from 'ol/extent';
import ImageState from 'ol/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;
}