Interface: IBitmapFontOptions

PIXI.IBitmapFontOptions

Properties:
Name Type Default Description
chars string | (string | string[])[] PIXI.BitmapFont.ALPHANUMERIC

The character set to generate.

padding number 4

The padding between glyphs in the atlas.

resolution number 1

The resolution for rendering.

skipKerning boolean false

Skip generation of kerning information for the BitmapFont. If true, this could potentially increase the performance, but may impact the rendered text appearance.

textureHeight number 512

The height of the texture atlas.

textureWidth number 512

The width of the texture atlas.

Members

chars string | (string | string[])[]

The character set to generate.

Default Value:
  • PIXI.BitmapFont.ALPHANUMERIC

padding number

The padding between glyphs in the atlas.

Default Value:
  • 4

resolution number

The resolution for rendering.

Default Value:
  • 1

skipKerning boolean

Skip generation of kerning information for the BitmapFont. If true, this could potentially increase the performance, but may impact the rendered text appearance.

Default Value:
  • false

textureHeight number

The height of the texture atlas.

Default Value:
  • 512

textureWidth number

The width of the texture atlas.

Default Value:
  • 512