# Sandbox.Bitmap.DrawText

```csharp
void DrawText(Scope scope, Rect rect, TextFlag flags = 132)
```

Draws text onto this bitmap. The text is rendered on the GPU and read back.

### Parameters

- `scope` (`Scope`)
- `rect` (`Rect`)
- `flags` (`TextFlag`), default `132`

Declared in [Sandbox.Bitmap](/api/Sandbox.Bitmap).
Assembly: `Sandbox.Engine`.
