| Name | Type | Description |
|---|---|---|
| rect | Rect | The rectangle to outline, in panel-local coordinates. |
| color | Color | Outline color. |
| width | float | Outline thickness in pixels. |
| cornerRadius = 0 | float | Corner radius to match rounded rectangles. |
| offset = 0 | float | Outline offset. Positive values push the outline outward, negative values pull it inward. |