BitmapFontOptions
The look of a generated bitmap font (as engine.text’s style), and the characters to bake up front.
Extends
Section titled “Extends”Pick<TextStyle,"size"|"font"|"weight"|"color"|"outline"|"outlineWidth"|"shadow"|"shadowBlur">
Properties
Section titled “Properties”
optionalsize?:number
Font size, stage units.
Inherited from
Section titled “Inherited from”
optionalfont?:string
CSS font family list.
Inherited from
Section titled “Inherited from”weight?
Section titled “weight?”
optionalweight?:string|number
CSS font weight (default 700).
Inherited from
Section titled “Inherited from”color?
Section titled “color?”
optionalcolor?:string
CSS colour (default cream, #FBEFE3).
Inherited from
Section titled “Inherited from”outline?
Section titled “outline?”
optionaloutline?:string|boolean
A dark outline (true: the default halo colour) of this width (stage units).
Inherited from
Section titled “Inherited from”outlineWidth?
Section titled “outlineWidth?”
optionaloutlineWidth?:number
The outline’s width, stage units.
Inherited from
Section titled “Inherited from”shadow?
Section titled “shadow?”
optionalshadow?:string|boolean
A soft shadow (true: the default halo colour), blur in stage units.
Inherited from
Section titled “Inherited from”shadowBlur?
Section titled “shadowBlur?”
optionalshadowBlur?:number
The shadow’s blur radius, stage units.
Inherited from
Section titled “Inherited from”chars?
Section titled “chars?”
optionalchars?:string
Characters baked now (default the digits); any other is baked the first time it is drawn.