mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
11 lines
494 B
TypeScript
11 lines
494 B
TypeScript
import { Extent } from './extent';
|
|
import ImageBase from './ImageBase';
|
|
import ImageState from './ImageState';
|
|
|
|
export type LoadFunction = ((p0: ImageWrapper, p1: string) => void);
|
|
export default class ImageWrapper extends ImageBase {
|
|
constructor(extent: Extent, resolution: number, pixelRatio: number, src: string, crossOrigin: string, imageLoadFunction: LoadFunction);
|
|
protected state: ImageState;
|
|
setImage(image: HTMLCanvasElement | HTMLImageElement | HTMLVideoElement): void;
|
|
}
|