Expand description
Components describing UI nodes: their layout style and how they are drawn.
Structs§
- Computed
UiNode - Layout result of a
UiNode, in logical window pixels (origin at the top-left corner). - UiBackground
- Fill color of a
UiNode. Nodes without one (nor aUiImage) are invisible, and let the pointer through. - UiBorder
Color - Color of the border, whose widths are set by
UiStyle::border. - UiCorner
Radius - Radius of the node corners, in logical pixels.
- UiImage
- Image stretched over the whole node, in place of its
UiBackground. The texture holds sRGB data, as loaded by default. - UiNode
- A UI node, laid out by taffy from its
UiStyle. Its UI children are the entity’s [Children] that are alsoUiNodes. A node without aUiNodeparent is a root, laid out against the whole window.