🆙 Update IGetImageListener

This commit is contained in:
DuckieTM
2025-03-09 10:53:31 +01:00
parent 70b1d232d5
commit 5ff7478cb5
6 changed files with 20 additions and 9 deletions
@@ -1,7 +1,7 @@
import { Texture } from 'pixi.js';
import { IImageResult } from './IImageResult';
export interface IGetImageListener
{
imageReady(id: number, texture: Texture, image?: HTMLImageElement): void;
imageReady(result: IImageResult): void;
imageFailed(id: number): void;
}
@@ -0,0 +1,9 @@
export class ColorChannelType
{
public static CHANNELS_EQUAL: string = 'CHANNELS_EQUAL';
public static CHANNELS_UNIQUE: string = 'CHANNELS_UNIQUE';
public static CHANNELS_RED: string = 'CHANNELS_RED';
public static CHANNELS_GREEN: string = 'CHANNELS_GREEN';
public static CHANNELS_BLUE: string = 'CHANNELS_BLUE';
public static CHANNELS_DESATURATED: string = 'CHANNELS_DESATURATED';
}
+1
View File
@@ -1,3 +1,4 @@
export * from './ColorChannelType';
export * from './IAdvancedMap';
export * from './IBinaryReader';
export * from './IBinaryWriter';