Angulos
Loading...
Searching...
No Matches
Angulos.UI.UIElements.Label Class Reference
Inheritance diagram for Angulos.UI.UIElements.Label:
Angulos.UI.UIElements.IUIElement

Public Member Functions

 Label (string txt)
 Label (string txt, Vector2 position)

Public Attributes

string Txt
float FontScale = 1
Action OnDraw = () => { }

Properties

bool Visible = true [get, set]
 If the object is visible.
Vector2 Position = Vector2.Zero [get, set]
 The object's position. Vector2.Zero for automatic positioning.

Property Documentation

◆ Position

Vector2 Angulos.UI.UIElements.Label.Position = Vector2.Zero
getset

The object's position. Vector2.Zero for automatic positioning.

Implements Angulos.UI.UIElements.IUIElement.

◆ Visible

bool Angulos.UI.UIElements.Label.Visible = true
getset

If the object is visible.

Implements Angulos.UI.UIElements.IUIElement.


The documentation for this class was generated from the following file:
  • Sharp/UI/UIElements/Label.cs