Interface: BitmapFontData
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:46
The raw data of a bitmap font.
Advanced
Properties
baseLineOffset
> baseLineOffset: number
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:48
The offset of the font face from the baseline.
chars
> chars: Record<string, RawCharData>
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:50
The map of characters by character string.
distanceField?
> optional distanceField?: object
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:65
The range and type of the distance field for this font.
range
> range: number
Range of the distance field in pixels
type
> type: "none" | "sdf" | "msdf"
Type of distance field
fontFamily
> fontFamily: string
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:63
The name of the font face.
fontSize
> fontSize: number
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:61
The size of the font face in pixels.
lineHeight
> lineHeight: number
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:59
The line-height of the font face in pixels.
pages
> pages: object[]
Defined in: node_modules/pixi.js/lib/scene/text-bitmap/AbstractBitmapFont.d.ts:52
The map of base page textures (i.e., sheets of glyphs).
file
> file: string
File name
id
> id: number
Unique id for bitmap texture