Winter Cardinal UI - v0.442.0 / UtilExtract
• new UtilExtract(): UtilExtract
▪ Static
Protected
Optional
WORK_RENDER_TEXTURE: RenderTexture
src/main/typescript/wcardinal/ui/util/util-extract.ts:109
▸ base64(options
): string
Name | Type |
---|---|
options |
UtilExtractBase64Options |
string
src/main/typescript/wcardinal/ui/util/util-extract.ts:189
▸ canvas(options
): CanvasRenderTarget
Name | Type |
---|---|
options |
UtilExtractCanvasOptions |
CanvasRenderTarget
src/main/typescript/wcardinal/ui/util/util-extract.ts:182
▸ destroy(): void
Clears all the memories.
void
src/main/typescript/wcardinal/ui/util/util-extract.ts:207
▸ file(options
): void
Name | Type |
---|---|
options |
UtilExtractFileOptions |
void
src/main/typescript/wcardinal/ui/util/util-extract.ts:200
▸ pixels(options
): UtilExtractorPixels
Extracts pixels from the target. This method internally creates one render texture and use that to extract pixels from the target. To free the allocated render texture, please call ().
Name | Type | Description |
---|---|---|
options |
UtilExtractPixelsOptions |
an extraction options |
extracted pixels
src/main/typescript/wcardinal/ui/util/util-extract.ts:126
▸ texture(options
): RenderTexture
Name | Type |
---|---|
options |
UtilExtractTextureOptions |
RenderTexture