Progress Bar
fun ProgressBar( posX: Number = 0, posY: Number = 0, width: Number = DEFAULT_PROGRESSBAR_WIDTH, height: Number = DEFAULT_PROGRESSBAR_HEIGHT, progress: Double = 0.0, barColor: Color = Color.CYAN)
Content copied to clipboard
Creates a ProgressBar.
Parameters
pos X
Horizontal coordinate for this ProgressBar. Default: 0.
pos Y
Vertical coordinate for this ProgressBar. Default: 0.
width
Width for this ProgressBar. Default: DEFAULT_PROGRESSBAR_WIDTH.
height
Height for this ProgressBar. Default: DEFAULT_PROGRESSBAR_HEIGHT.
progress
The initial progress of this ProgressBar. Default 0.
bar Color
The initial bar color of this ProgressBar. Default Color.CYAN.