Private
_childrenPrivate
_clippingPrivate
_containerDefines the layout of it's children
Private
_elementPrivate
_inactivePrivate
_layoutproperties to render and layout this element
Private
_mousePrivate
_namePrivate
_noPrivate
_offsetOffset position appended to all position values
Private
_paddingAbsolute padding on screen in pixel
Private
_parentPrivate
_positionThe current absolute position on screen in pixel
Private
_stylePrivate
_tmpPrivate
_transformPrivate
_transformPrivate
_transformPrivate
_visibleStatic
Private
PlaceComfort method to append a style element. If no style object is set a new one is created.
Be careful, this can cause issues with shared styles
Pushes this element and all their children into the "collectedElements" container if they spatially collide with x,y.
The top-most element will have the index [0].
It is possible (thanks to offsets, etc) that a child is in here while the parent is not.
Fills this LUIElement and all it's parent up to the root into the provided array.
Private
internProtected
selfIf set to a not-None value this will ensure that all content and children cannot render outside of the border of this element.
LUIClipBehavior.None // No clipping. Pixels are visible in all cases. LUIClipBehavior.ElementBox // Only pixels within the box of the element will be visible LUIClipBehavior.IgnorePaddingBox // Only pixels within the box + padding of the element will be visible
Use getTransform() to manipulate the animation matrix.
Transform is NOT considered during input. It's animation only
Generated using TypeDoc
LUIElement serves the following multiple purposes:
There are 3 main states to consider:
** visible
If not visible the object will be ignored in layout and won't receive any input events (or generate any)
** inactive TODO implement this
If inactive the element consumes events but won't notify any messages (e.g. an inactive button cannot be pressed. but the events won't be transferred through it - unless configured otherwise ;).
Children too?
** noRender TODO implement this
This deactivates the draw-call for this element and it's children.
Children too?