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

# Draw Line

Queues a line with thickness.

## **Syntax**

```lua
refresh.Drawing.DrawLine(x1, y1, x2, y2, r, g, b, a, thickness)
```

## Usage Example

```lua
refresh.Drawing.DrawLine(100.0, 100.0, 200.0, 200.0, 255, 255, 255, 255, 1.5)
```
