Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
ProgressBar¶
Inherits: Range < Control < CanvasItem < Node < Object
A control used for visual representation of a percentage.
Description¶
A control used for visual representation of a percentage. Shows fill percentage from right to left.
Properties¶
|
||
|
Theme Properties¶
|
||
|
||
|
||
|
||
Enumerations¶
enum FillMode:
FillMode FILL_BEGIN_TO_END = 0
The progress bar fills from begin to end horizontally, according to the language direction. If Control.is_layout_rtl returns false
, it fills from left to right, and if it returns true
, it fills from right to left.
FillMode FILL_END_TO_BEGIN = 1
The progress bar fills from end to begin horizontally, according to the language direction. If Control.is_layout_rtl returns false
, it fills from right to left, and if it returns true
, it fills from left to right.
FillMode FILL_TOP_TO_BOTTOM = 2
The progress fills from top to bottom.
FillMode FILL_BOTTOM_TO_TOP = 3
The progress fills from bottom to top.
Property Descriptions¶
int fill_mode = 0
The fill direction. See FillMode for possible values.
bool show_percentage = true
If true
, the fill percentage is displayed on the bar.
Theme Property Descriptions¶
Color font_color = Color(0.95, 0.95, 0.95, 1)
The color of the text.
Color font_outline_color = Color(1, 1, 1, 1)
The tint of text outline of the ProgressBar.
Color font_shadow_color = Color(0, 0, 0, 1)
The color of the text's shadow.