Property | Type | Description | |
---|---|---|---|
disabled | bool | ||
shiftIgnoresSnap | bool | ||
snapThreshold | float | ||
snapValues | float[] |
Property | Type | Description | |
---|---|---|---|
_min | float | ||
_value | float | ||
_vertical | bool | ||
position | float |
Method | Description | |
---|---|---|
ProgressBar ( Skin skin, string styleName = null ) : System | ||
ProgressBar ( float min, float max, float stepSize, bool vertical, |
||
draw ( Graphics graphics, float parentAlpha ) : void | ||
getStyle ( ) : |
Returns the progress bar's style. Modifying the returned style may not have an effect until {@link #setStyle(ProgressBarStyle)} is called.
|
|
getVisualPercent ( ) : float | ||
setStepSize ( float stepSize ) : |
||
setStyle ( |
||
setValue ( float value ) : void |
Sets the progress bar position, rounded to the nearest step size and clamped to the minimum and maximum values.
|
Method | Description | |
---|---|---|
getKnobDrawable ( ) : IDrawable |
Method | Description | |
---|---|---|
snap ( float value ) : float |
Returns a snapped value
|
public ProgressBar ( Skin skin, string styleName = null ) : System | ||
skin | Skin | |
styleName | string | |
return | System |
public ProgressBar ( float min, float max, float stepSize, bool vertical, |
||
min | float | |
max | float | |
stepSize | float | |
vertical | bool | |
style | ||
return | System |
public draw ( Graphics graphics, float parentAlpha ) : void | ||
graphics | Graphics | |
parentAlpha | float | |
return | void |
public setStepSize ( float stepSize ) : |
||
stepSize | float | |
return |
public setStyle ( |
||
style | ||
return | void |