interface IExtract { base64( target?: DisplayObject | RenderTexture, format?: string, quality?: number, frame?: Rectangle, ): Promise<string>; canvas(target?: DisplayObject | RenderTexture, frame?: Rectangle): ICanvas; image( target?: DisplayObject | RenderTexture, format?: string, quality?: number, frame?: Rectangle, ): Promise<HTMLImageElement>; pixels( target?: DisplayObject | RenderTexture, frame?: Rectangle, ): Uint8Array | Uint8ClampedArray;} Methods
base64
- base64(
target?: DisplayObject | RenderTexture,
format?: string,
quality?: number,
frame?: Rectangle,
): Promise<string> Returns Promise<string>
image
- image(
target?: DisplayObject | RenderTexture,
format?: string,
quality?: number,
frame?: Rectangle,
): Promise<HTMLImageElement> Returns Promise<HTMLImageElement>
pixels
- pixels(
target?: DisplayObject | RenderTexture,
frame?: Rectangle,
): Uint8Array | Uint8ClampedArray Returns Uint8Array | Uint8ClampedArray