Drawable
Drawable
The most basic thing in the PolyUI rendering system.
Supports recoloring, animations, and the entire event system.
Inheritors
Constructors
Properties
internal field for visibleSize.
Setting of this value could have undesirable results, and the PolyColor.Animated.recolor method should be used instead.
Disabled flag for this component. Dispatches the Event.Lifetime.Disabled and Event.Lifetime.Enabled events.
Returns true if this drawable has a visible size set.
The current input state of this drawable. Note that this value is not responsible for dispatching events such as Event.Mouse.Exited or Event.Mouse.Pressed. It is just here for tracking purposes and for your benefit.
This is the name of this drawable, and it will be consistent over reboots of the program, so you can use it to get drawables from a layout by ID, e.g:
The visible size of this drawable. This is used for clipping and scrolling.
Functions
Bulk add method for all the builtin drawable operations in PolyUI.
Use this function to calculate the size of this drawable. DO NOT include children in this calculation!
function that should return true if it is ready to be removed from its parent.
Returns a count of this drawable's children, including children of children.
Override this function to add things to the debug display of this drawable.
returns true if this drawable has any non-specific event handlers registered for it.
returns true if this drawable has any specific event handlers registered for it.
Fully recalculate this drawable's size, and any of its children's positions.
Remove an operation from this drawable.
Reposition all the children of this drawable.
reset the initial scroll position to the current position.