Component
Component
Component is the base class of everything on the screen in PolyUI.
It itself contains no actual draw methods.
Since
1.6.0
Inheritors
Constructors
Properties
Returns true if this component had a position specified at creation time.
Returns `true if this component had a size specified at creation time.
Disabled flag for this component. Dispatches the Event.Lifetime.Disabled and Event.Lifetime.Enabled events.
true if this drawable has any operations.
Flags that store various states of this component regarding the Positioner and resizing. Currently, the following is stored here:
If true, this component will be ignored during the Positioner's routine of placing components. Use this if you want to specify it manually based on something else, for example.
Returns true if this component has been initialized to the point where it has been positioned, e.g. Event.Lifetime.Init has been dispatched, and Event.Lifetime.PostInit is about to be.
The visible size of this component. This is used for clipping and scrolling.
Functions
Use this function to calculate the size of this component. DO NOT include children in this calculation!
Returns a count of this component's children, including children of children.
Override this function to add things to the debug display of this component.
Reposition all the children of this component.
Fully recalculate this component's size, and any of its children's positions.
Remove an operation from this drawable.