Interface IUIElement
Base interface for all UI elements, providing hierarchical support
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public interface IUIElement
Properties
|
Edit this page
View Source
Children
Declaration
IReadOnlyList<IUIElement> Children { get; }
Property Value
|
Edit this page
View Source
Id
Declaration
Property Value
|
Edit this page
View Source
Parent
Declaration
IUIElement? Parent { get; set; }
Property Value
|
Edit this page
View Source
Position
Declaration
Vector2 Position { get; set; }
Property Value
|
Edit this page
View Source
Size
Declaration
Vector2 Size { get; set; }
Property Value
|
Edit this page
View Source
Visible
Declaration
bool Visible { get; set; }
Property Value
Methods
|
Edit this page
View Source
AddChild(IUIElement)
Declaration
void AddChild(IUIElement child)
Parameters
|
Edit this page
View Source
Draw()
Declaration
|
Edit this page
View Source
GetLocalPosition()
Declaration
Vector2 GetLocalPosition()
Returns
|
Edit this page
View Source
GetWorldPosition()
Declaration
Vector2 GetWorldPosition()
Returns
|
Edit this page
View Source
RemoveChild(IUIElement)
Declaration
void RemoveChild(IUIElement child)
Parameters
|
Edit this page
View Source
RemoveFromParent()
Declaration
|
Edit this page
View Source
Update()
Declaration