C# Class Nez.UI.ProgressBarStyle

The style for a progress bar
ファイルを表示 Open project: prime31/Nez Class Usage Examples

Public Properties

Property Type Description
background IDrawable
disabledBackground IDrawable
knob IDrawable
knobBefore IDrawable

Public Methods

Method Description
ProgressBarStyle ( ) : System
ProgressBarStyle ( IDrawable background, IDrawable knob ) : System
clone ( ) : ProgressBarStyle
create ( Color knobBeforeColor, Color knobAfterColor ) : ProgressBarStyle
createWithKnob ( Color backgroundColor, Color knobColor ) : ProgressBarStyle

Method Details

ProgressBarStyle() public method

public ProgressBarStyle ( ) : System
return System

ProgressBarStyle() public method

public ProgressBarStyle ( IDrawable background, IDrawable knob ) : System
background IDrawable
knob IDrawable
return System

clone() public method

public clone ( ) : ProgressBarStyle
return ProgressBarStyle

create() public static method

public static create ( Color knobBeforeColor, Color knobAfterColor ) : ProgressBarStyle
knobBeforeColor Color
knobAfterColor Color
return ProgressBarStyle

createWithKnob() public static method

public static createWithKnob ( Color backgroundColor, Color knobColor ) : ProgressBarStyle
backgroundColor Color
knobColor Color
return ProgressBarStyle

Property Details

background public_oe property

The progress bar background, stretched only in one direction. Optional.
public IDrawable background
return IDrawable

disabledBackground public_oe property

Optional
public IDrawable disabledBackground
return IDrawable

knob public_oe property

Optional, centered on the background.
public IDrawable knob
return IDrawable

knobBefore public_oe property

Optional
public IDrawable knobBefore
return IDrawable