mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-29 21:17:34 +00:00
11 lines
502 B
TypeScript
11 lines
502 B
TypeScript
import { Extent } from './extent';
|
|
import ImageBase from './ImageBase';
|
|
import ImageState from './ImageState';
|
|
|
|
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;
|
|
}
|
|
export type LoadFunction = ((param0: ImageWrapper, param1: string) => void);
|