ProgressBar Constructor (UInt32, UInt32, Vector2, Anchor, Nullable(Vector2))

GeonBit.UI

ProgressBar Constructor (UInt32, UInt32, Vector2, Anchor, NullableVector2)
Create progress bar with size.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ProgressBar(
	uint min,
	uint max,
	Vector2 size,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> offset = null
)

Parameters

min
Type: SystemUInt32
Min value.
max
Type: SystemUInt32
Max value.
size
Type: Vector2
Entity size.
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
See Also