# Sandbox.Stroke.Stroke

## Overload 1

```csharp
Stroke()
```

Creates a disabled stroke with an 8px dash length and 4px gap ready for patterned use.

## Overload 2

```csharp
Stroke(Fill fill, float width = 1, LineCap cap = 0)
```

Creates a solid stroke with the specified caps, round joins and a miter limit of 4. Caps default to butt.

### Parameters

- `fill` (`Fill`)
- `width` (`float`), default `1`
- `cap` (`LineCap`), default `0`

Declared in [Sandbox.Stroke](/api/Sandbox.Stroke).
Assembly: `Sandbox.Engine`.
