> 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-rect.md).

# Draw Rect

Queues a filled rounded rectangle.

## **Syntax**

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

## Usage Example

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