Winter Cardinal UI - v0.457.0 / DynamicSDFFontAtlas
• new DynamicSDFFontAtlas(fontFamily): DynamicSDFFontAtlas
| Name | Type |
|---|---|
fontFamily |
string |
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:33
• Protected _canvas: null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:24
• Protected _characters: DynamicFontAtlasCharacters
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:26
• Protected _font: DynamicSDFFontAtlasFont
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:25
• Protected _generator: null | DynamicSDFFontGenerator
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:23
• Protected _height: number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:28
• Protected _id: string
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:22
• Protected _isDirty: boolean
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:29
• Protected _isTouched: boolean
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:30
• Protected _life: number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:31
• Protected _width: number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:27
• get canvas(): null | HTMLCanvasElement
null | HTMLCanvasElement
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:86
• get characters(): DynamicFontAtlasCharacters
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:94
• get font(): DynamicSDFFontAtlasFont
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:68
• set font(font): void
| Name | Type |
|---|---|
font |
DynamicSDFFontAtlasFont |
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:72
• get generator(): null | DynamicSDFFontGenerator
null | DynamicSDFFontGenerator
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:90
• get height(): number
number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:82
• get id(): string
string
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:64
• get length(): number
number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:249
• get width(): number
number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:78
▸ add(characters, nacharacters): void
| Name | Type |
|---|---|
characters |
string[] |
nacharacters |
string[] |
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:139
▸ begin(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:98
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:266
▸ end(): void
void
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:107
▸ get(id): undefined | DynamicFontAtlasCharacter
| Name | Type |
|---|---|
id |
string |
undefined | DynamicFontAtlasCharacter
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:157
▸ newChar(character, type): DynamicFontAtlasCharacter
| Name | Type |
|---|---|
character |
string |
type |
number |
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:132
▸ toJson(): DynamicSDFFontAtlasJson
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:253
▸ toPowerOf2(size): number
| Name | Type |
|---|---|
size |
number |
number
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:280
▸ toString(): string
string
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:262
▸ update(): boolean
boolean
src/main/typescript/wcardinal/ui/util/dynamic-sdf-font-atlas.ts:161