Table of Contents

Class ProgressBar

Namespace
Fantas.UI
Assembly
Fantas.dll

Progress bar node backed by a background sprite and a fill sprite child.

public class ProgressBar : SpriteNode
Inheritance
ProgressBar
Inherited Members
Extension Methods

Constructors

ProgressBar()

Initializes a progress bar.

public ProgressBar()

Properties

EndColor

Color used as the target gradient color for the fill track.

public Color EndColor { get; set; }

Property Value

Color

FillColor

Fill tint color.

public Color FillColor { get; set; }

Property Value

Color

Maximum

Maximum progress value.

public float Maximum { get; set; }

Property Value

float

Minimum

Minimum progress value.

public float Minimum { get; set; }

Property Value

float

StartColor

Color used on the left side of the fill track.

public Color StartColor { get; set; }

Property Value

Color

Value

Current progress value.

public float Value { get; set; }

Property Value

float

Methods

OnSizeChanged()

Updates the fill layout when the progress bar size changes.

protected override void OnSizeChanged()