Skip to main content

SpriteFontOptions

Index

Properties

alphabet

alphabet: string

Alphabet string in spritesheet order (default is row column order) example: 'abcdefghijklmnopqrstuvwxyz'

optionalcaseInsensitive

caseInsensitive?: boolean

Optionally ignore case in the supplied text;

optionallineHeight

lineHeight?: number

Optionally override the text line height, useful for multiline text. If unset will use default.

optionalshadow

shadow?: { offset: Vector }

Optionally specify a "shadow"


Type declaration

optionalspacing

spacing?: number

Optionally adjust the spacing between character sprites

spriteSheet

spriteSheet: SpriteSheet

[[SpriteSheet]] to source character sprites from