Base interface for all visual elements in the widget tree. More...
Public Member Functions | |
| void | Render (IRenderContext ctx) |
| Render this widget into the provided context. | |
Properties | |
| SizeConstraint | Height [get] |
| Height constraint used by the layout engine. | |
| Style | Style [get] |
| Visual style for this widget. Inherits from Theme if unset. | |
| SizeConstraint | Width [get] |
| Width constraint used by the layout engine. | |
Base interface for all visual elements in the widget tree.
| void ConsoleForge.Layout.IWidget.Render | ( | IRenderContext | ctx | ) |
Render this widget into the provided context.
The context carries the allocated region, theme, and color profile. Implementations MUST NOT write outside ctx.Region.
Implemented in ConsoleForge.Widgets.ImageWidget.