LogoPixi’VN
pixi-jsInterfaces

Interface: CharData

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:8

Advanced

Properties

id

> id: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:10

Unique id of character


kerning

> kerning: Record<string, number>

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:18

The kerning values for this character.


texture?

> optional texture?: Texture<TextureSource<any>>

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:20

The texture of the character.


xAdvance

> xAdvance: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:16

Advancement to apply to next character.


xOffset

> xOffset: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:12

x-offset to apply when rendering character


yOffset

> yOffset: number

Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:14

y-offset to apply when rendering character.