# Sandbox.TextStyle.WithOutline

```csharp
TextStyle WithOutline(System.Nullable<Color> color = null, float width = 1)
```

### Parameters

- `color` (`System.Nullable<Color>`), default `null`
- `width` (`float`), default `1`

### Returns

`TextStyle`

Declared in [Sandbox.TextStyle](/api/Sandbox.TextStyle).
Assembly: `Sandbox.Engine`.
