(key?: string, image?: HTMLImageElement)
| 1028 | static imageCache(key: string): HTMLImageElement | undefined; |
| 1029 | static imageCache(key: string, image: HTMLImageElement): void; |
| 1030 | static imageCache(key?: string, image?: HTMLImageElement): HTMLImageElement | undefined | void { |
| 1031 | return _imageCache(this.asEngine(), key as string, image as HTMLImageElement); |
| 1032 | } |
| 1033 | |
| 1034 | /** |
| 1035 | * Remove an HTMLImageElement from the cache |
no test coverage detected