Lightning's render tree is composed out of elements. Elements are render primitives of the
lng.Element type that can be set up to show a texture or not. This texture can be anything; from a solid color to a gradient, a piece of text or an image. Properties can be used to set their position and appearance:
- The positioning of an element is relative to its parent and can be defined using the
- An element can be scaled or rotated using transform properties.
- An element will only show something when a texture is attached to it.
- Rendering properties define if and how the element is being rendered.