# Sandbox.Stroke.Solid

```csharp
static Stroke Solid(Fill fill, float width = 1)
```

Creates a solid stroke with butt caps and round joins. Width is in drawing pixels.

### Parameters

- `fill` (`Fill`)
- `width` (`float`), default `1`

### Returns

`Stroke`

Declared in [Sandbox.Stroke](/api/Sandbox.Stroke).
Assembly: `Sandbox.Engine`.
