Inherits: Range < Control < CanvasItem < Node < Object
A control used for visual representation of a percentage.
A control used for visual representation of a percentage. Shows fill percentage from right to left.
| ||
|
| ||
| ||
| ||
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.
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.
2
The progress fills from top to bottom.
3
The progress fills from bottom to top.
0
The fill direction. See FillMode for possible values.
true
If true, the fill percentage is displayed on the bar.
Color(0.95, 0.95, 0.95, 1)
The color of the text.
Color(1, 1, 1, 1)
The tint of text outline of the ProgressBar.
0
The size of the text outline.
Note: If using a font with FontFile.multichannel_signed_distance_field enabled, its FontFile.msdf_pixel_range must be set to at least twice the value of outline_size for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended.
Font used to draw the fill percentage if show_percentage is true.
Font size used to draw the fill percentage if show_percentage is true.
The style of the background.
The style of the progress (i.e. the part that fills the bar).
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_progressbar.html