Click or drag to resize
Label Constructor (String, Anchor, NullableVector2, NullableVector2)
Create the label.

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

Parameters

text
Type: SystemString
Label text.
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
size (Optional)
Type: SystemNullableVector2
Optional label size.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
See Also