InterfacesLabelOptionsOn this pageLabelOptions Option for creating a labelIndex PropertiescolorfontposspriteFonttextxyProperties optionalcolorcolor?: ColorSpecify the color of the text (does not apply to SpriteFonts)optionalfontfont?: FontSpecify a custom fontoptionalpospos?: VectoroptionalspriteFontspriteFont?: SpriteFontOptionally specify a sprite font, will take precedence over any other [[Font]]optionaltexttext?: stringSpecify the label textoptionalxx?: numberoptionalyy?: number
Option for creating a label