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

# Draw Text

Queues text with optional centering and an imported font. Unknown font names fall back to the default font.

## **Syntax**

```lua
refresh.Drawing.DrawText(text, x, y, size, centered, r, g, b, a [, fontName])
```

## Usage Example

```lua
refresh.Drawing.DrawText("Hello World", 100.0, 100.0, 15.0, false, 255, 255, 255, 255)
```
