Winter Cardinal UI - v0.457.0 / UtilExtractorCanvas
• new UtilExtractorCanvas(width, height): UtilExtractorCanvas
| Name | Type |
|---|---|
width |
number |
height |
number |
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:5
• Protected _context: null | CanvasRenderingContext2D
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:3
• Protected _element: null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:2
• get canvas(): HTMLCanvasElement
HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:28
• get context(): CanvasRenderingContext2D
CanvasRenderingContext2D
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:32
• get element(): HTMLCanvasElement
HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:16
• get height(): number
number
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:63
• set height(height): void
| Name | Type |
|---|---|
height |
number |
void
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:71
• get resolution(): number
number
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:44
• get width(): number
number
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:48
• set width(width): void
| Name | Type |
|---|---|
width |
number |
void
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:56
▸ clear(): void
void
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:78
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:95
▸ getContext(): null | CanvasRenderingContext2D
null | CanvasRenderingContext2D
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:40
▸ getElement(): null | HTMLCanvasElement
null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:24
▸ resize(width, height): void
| Name | Type |
|---|---|
width |
number |
height |
number |
void
src/main/typescript/wcardinal/ui/util/util-extractor-canvas.ts:87