# Editor.Theme.DrawButton

```csharp
static void DrawButton(Rect LocalRect, string text = null, string Icon = null, bool Enabled = True, System.Nullable<Color> Tint = null)
```

### Parameters

- `LocalRect` (`Rect`)
- `text` (`string`), default `null`
- `Icon` (`string`), default `null`
- `Enabled` (`bool`), default `True`
- `Tint` (`System.Nullable<Color>`), default `null`

Declared in [Editor.Theme](/api/Editor.Theme).
Assembly: `Sandbox.Tools`.
