Winter Cardinal UI - v0.457.0 / DynamicAtlasItemImage
↳ DynamicAtlasItemImage
• new DynamicAtlasItemImage(src, width, height, source, baseTexture): DynamicAtlasItemImage
| Name | Type |
|---|---|
src |
string |
width |
number |
height |
number |
source |
TexImageSource |
baseTexture |
BaseTexture |
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item-image.ts:12
• frame: Rectangle
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:11
• height: number
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:15
• id: string
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:9
• ref: number
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:10
• source: TexImageSource
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item-image.ts:10
• strokeWidth: number
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:16
• texture: Texture
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:12
• width: number
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:14
▸ applyFrame(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:38
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item.ts:48
▸ render(context): void
| Name | Type |
|---|---|
context |
CanvasRenderingContext2D |
void
src/main/typescript/wcardinal/ui/util/dynamic-atlas-item-image.ts:23