Optional
alphaPre multiply the image alpha. Note: for MSDF/SDF fonts, alphaMode is not supported.
PIXI.BaseTexture.defaultOptions.alphaMode
Optional
anisotropicAnisotropic filtering level of texture.
PIXI.BaseTexture.defaultOptions.anisotropicLevel
Optional
charsCharacters included in the font set. You can also use ranges.
For example, [['a', 'z'], ['A', 'Z'], "!@#$%^&*()~{}[] "]
.
Don't forget to include spaces ' ' in your character set!
PIXI.BitmapFont.ALPHANUMERIC
Optional
mipmapIf mipmapping is enabled for texture. For instance, by default PixiJS only enables mipmapping on Power-of-Two textures. If your textureWidth or textureHeight are not power-of-two, you may consider enabling mipmapping to get better quality with lower font sizes. Note: for MSDF/SDF fonts, mipmapping is not supported.
PIXI.BaseTexture.defaultOptions.mipmap
Optional
paddingPadding between glyphs on texture atlas. Lower values could mean more visual artifacts and bleeding from other glyphs, larger values increase the space required on the texture.
4
Optional
resolutionRender resolution for glyphs.
1
Optional
scaleDefault scale mode, linear, nearest. Nearest can be helpful for bitmap-style fonts.
PIXI.BaseTexture.defaultOptions.scaleMode
Optional
skipSkip generation of kerning information for the BitmapFont. If true, this could potentially increase the performance, but may impact the rendered text appearance.
false
Optional
textureOptional height of atlas, smaller values to reduce memory.
512
Optional
textureOptional width of atlas, smaller values to reduce memory.
512
Generated using TypeDoc
Memberof
PIXI