ScoreDisplayLabeledNumber¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/vegas/blob/main/js/ScoreDisplayLabeledNumber.ts for the most up-to-date information.
Overview¶
Display a score as 'Score: N', where N is a number. See specification in https://github.com/phetsims/vegas/issues/59.
@author Andrea Lin
Class ScoreDisplayLabeledNumber¶
Constructor¶
new ScoreDisplayLabeledNumber( scoreProperty : TReadOnlyProperty<number>, providedOptions? : ScoreDisplayLabeledNumberOptions )¶
Instance Methods¶
dispose()¶
Type ScoreDisplayLabeledNumberOptions¶
- font?: Font
- textFill?: TColor
- scoreDecimalPlaces?: number
- & StrictOmit<HBoxOptions, "children">
Source Code¶
See the source for ScoreDisplayLabeledNumber.ts in the vegas repository.