OptionalbindAn event to take the value from, instead of setting it by hand: each time the event fires, its first argument becomes the value. The bar stops listening when it is destroyed.
Optionalborderthe colour of the border drawn around the bar; null for none
Optionalborderthe border's thickness, in pixels, drawn inside the bar's edge
Optionaldirectionwhich edge the fill grows from; see ProgressBarDirection
OptionalfillThe colour of the fill. A Color is read again every frame, so changing the one you passed changes the bar.
Optionalfontthe label's CSS font family
Optionalfontthe label's text height, in pixels; 70% of the bar's height (at least 8), rounded, if not given
the bar's full height, in pixels
Optionallabelthe label's colour
OptionallabelWhat the label says, given the value and its 0..1 fraction. The
default shows a rounded percentage, such as "75%".
Optionalmaxthe value that shows as full; given below min, the two are swapped
Optionalminthe value that shows as empty
OptionalonCalled each time the value changes, with the new value, the same as a
0..1 fraction of the way from min to max, and the bar. Not called
when the value is set to what it already is.
Optionalpaddingthe gap between the track's edge and the fill on each side, in pixels
Optionalradiusthe corner radius, in pixels; 0 is square. The fill's corners are
reduced by padding, so they stay parallel to the track's.
Optionalshadowhow far the shadow's soft edge spreads, in pixels; 0 is a sharp edge
OptionalshadowThe colour of a drop shadow under the bar; null for none. Its alpha
sets how dark the shadow is, e.g. "#00000066".
Optionalshadowhow far right the shadow falls, in pixels; negative goes left
Optionalshadowhow far down the shadow falls, in pixels; negative goes up
Optionalshowdraw a text label centred over the bar
Optionaltrackthe colour behind the fill; null leaves it hollow, showing whatever
is behind the bar
Optionalvaluethe starting value, clamped between min and max; min if not given
the bar's full width, in pixels
The settings a ProgressBar takes. Only
widthandheightare required.