| Name | Type | Description |
|---|---|---|
| rect | Rect | The rectangle to cast the shadow from, in panel-local coordinates. |
| color | Color | Shadow color. |
| blur = 0 | float | Blur radius in pixels. Higher values produce softer shadows. |
| spread = 0 | float | Spread distance in pixels. Positive values expand the shadow, negative values shrink it. |
| offset = null | Vector2 | Shadow offset from the rectangle position. |
| cornerRadius = 0 | float | Corner radius to match rounded rectangles. |
| inset = False | bool | If true, draws an inner shadow instead of a drop shadow. |