# Sandbox.Painter.Text

```csharp
void Text(string text, Rect rect)
```

Draws text with the current TextStyle, opacity, transform and clip.

### Parameters

- `text` (`string`)
- `rect` (`Rect`)

Declared in [Sandbox.Painter](/api/Sandbox.Painter).
Assembly: `Sandbox.Engine`.
