> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/drawing/draw-shadow-rect.md).

# Draw Shadow Rect

Queues a filled rect with an emulated drop shadow. Thickness controls the shadow spread.

## **Syntax**

```lua
refresh.Drawing.DrawShadowRect(x, y, w, h, r, g, b, a [, thickness, rounding, flags])
```

## Usage Example

```lua
refresh.Drawing.DrawShadowRect(100.0, 100.0, 100.0, 100.0, 255, 0, 0, 255, 4.0, 3.0)
```
