Module layout

Source
Expand description

Advanced Layout Engine for Orbit UI Framework

This module provides a comprehensive layout system with:

  • Flexbox-compatible layout properties
  • Constraint-based layout calculation
  • Performance optimizations with incremental updates
  • Integration with the component system

Structs§

EdgeValues
Edge values for margin, padding, border
Gap
Gap specification for flex containers
LayoutEngine
Layout engine responsible for computing layouts
LayoutNode
A node in the layout tree
LayoutResult
Computed layout result for a node
LayoutStats
Performance statistics for the layout engine
LayoutStyle
Layout style properties for a node
Point
Represents a 2D point with x and y coordinates
Rect
Represents a rectangle with position and size
Size
Represents a 2D size with width and height

Enums§

AlignContent
Align content controls alignment of wrapped lines
AlignItems
Align items controls alignment along the cross axis
Dimension
Dimension value can be auto, fixed, or percentage
FlexDirection
Flex direction determines the main axis
FlexWrap
Flex wrap determines whether items wrap to new lines
JustifyContent
Justify content controls alignment along the main axis
LayoutError
Errors that can occur during layout calculation
PositionType