RectangleNode
A basic rectangle shape that can either be filled or an outline
- Special Attributes
| Name | Type | Description |
|---|---|---|
| geometry | Rect | A rectangle describing the position and dimensions of the widget |
| background | Color | Widget interior color, transparent by default |
| border-color | Color | Widget outline color, $000000 by default |
| border-width | Number | Thickness of widget outline, 2 by default |
| visibility | String | A pv that determines the visibility of the widget, visibility is turned off if the PV’s value is zero. This logic is inverted if the !Not tag is used instead of String |
- Examples
FilledBox: !Rectangle
geometry: 100x100
background: $CCCCCC
border-color: *black
border-width: 2
Rectangles are commonly used as separator lines in layouts:
- !HStretch:Rectangle
geometry: 0x0x0x2
background: *grey_darker