Winter Cardinal UI - v0.457.0 / UtilExtractor
• new UtilExtractor(): UtilExtractor
▸ toBase64(canvas, format?, quality?): string
| Name | Type |
|---|---|
canvas |
HTMLCanvasElement |
format? |
string |
quality? |
number |
string
src/main/typescript/wcardinal/ui/util/util-extractor.ts:114
▸ toCanvas(pixels, scale?, ignorePremutipliedAlpha?, result?): UtilExtractorCanvas
| Name | Type |
|---|---|
pixels |
UtilExtractorPixels |
scale? |
number |
ignorePremutipliedAlpha? |
boolean |
result? |
UtilExtractorCanvas |
src/main/typescript/wcardinal/ui/util/util-extractor.ts:70
▸ toPixels(renderTexture, renderer): UtilExtractorPixels
| Name | Type |
|---|---|
renderTexture |
RenderTexture |
renderer |
Renderer |
src/main/typescript/wcardinal/ui/util/util-extractor.ts:43
▸ toTexture(target, resolution?, clear?, skipUpdateTransform?): RenderTexture
| Name | Type |
|---|---|
target |
DBase<DThemeBase, DBaseOptions<DThemeBase, any>> |
resolution? |
number |
clear? |
boolean |
skipUpdateTransform? |
boolean |
RenderTexture