HealthBarOptions
Options for configuring the rendered health bar.
HealthBarOptions
Options for configuring the rendered health bar.
Properties
maxValue?
maxValue?: number | undefinedHighest possible value. Defaults to 100.
width?
width?: string | undefinedCSS width, e.g. "200px".
height?
height?: string | undefinedCSS height, e.g. "20px".
fillColor?
fillColor?: string | undefinedFill color for the remaining health portion.
backgroundColor?
backgroundColor?: string | undefinedBackground color for the missing health portion.
showText?
showText?: boolean | undefinedWhether to overlay numeric text (default true).