Winter Cardinal UI - v0.457.0 / UtilSvgAtlasBuilder
• new UtilSvgAtlasBuilder(options): UtilSvgAtlasBuilder
| Name | Type |
|---|---|
options |
UtilSvgAtlasBuilderOptions |
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:40
• Protected Optional _built: Record<string, Texture>
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:38
• Protected _frames: Record<string, Rectangle>
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:32
• Protected _height: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:36
• Protected _margin: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:27
• Protected _mipmap: MIPMAP_MODES
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:30
• Protected _nextX: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:34
• Protected _nextY: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:35
• Protected _ratio: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:26
• Protected _resolution: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:28
• Protected _scaling: SCALE_MODES
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:29
• Protected _svg: string
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:33
• Protected _width: number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:25
• get mappings(): Record<string, Texture>
Record<string, Texture>
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:130
• get margin(): number
number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:69
• get ratio(): number
number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:65
• get width(): number
number
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:61
▸ add(name, width, height, path): boolean
| Name | Type |
|---|---|
name |
string |
width |
number |
height |
number |
path |
string |
boolean
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:73
▸ add(name, width, height, path, frameX, frameY, frameWidth, frameHeight): boolean
| Name | Type |
|---|---|
name |
string |
width |
number |
height |
number |
path |
string |
frameX |
number |
frameY |
number |
frameWidth |
number |
frameHeight |
number |
boolean
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:74
▸ build(options?): Record<string, Texture>
| Name | Type |
|---|---|
options? |
UtilSvgAtlasBuilderBuildOptions |
Record<string, Texture>
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:134
▸ has(name): boolean
| Name | Type |
|---|---|
name |
string |
boolean
src/main/typescript/wcardinal/ui/util/util-svg-atlas-builder.ts:126