ScoreDisplayLabeledStars¶
Overview¶
Display a score as 'Score: * * * ', where '' are stars, which may be fully or partially filled in. See specification in https://github.com/phetsims/vegas/issues/59.
@author Chris Malley (PixelZoom, Inc.)
Class ScoreDisplayLabeledStars¶
Constructor¶
new ScoreDisplayLabeledStars( scoreProperty : TReadOnlyProperty<number>, providedOptions? : ScoreDisplayLabeledStarsOptions )¶
Instance Methods¶
dispose()¶
Type ScoreDisplayLabeledStarsOptions¶
- font?: Font
- textFill?: TColor
- spacing?: number
- & ScoreDisplayStarsOptions & StrictOmit<HBoxOptions, "children">
Source Code¶
See the source for ScoreDisplayLabeledStars.ts in the vegas repository.