# Sandbox.Painter.Cross

```csharp
void Cross(Vector2 center, float width, float length)
```

Draws a plus-shaped cross as one contour using Fill and Stroke, without overlapping bars.
Width is the thickness of each bar; length is the full tip-to-tip span on both axes, in drawing pixels.
Nonpositive, non-finite dimensions or a width greater than length draw nothing.

### Parameters

- `center` (`Vector2`)
- `width` (`float`)
- `length` (`float`)

Declared in [Sandbox.Painter](/api/Sandbox.Painter).
Assembly: `Sandbox.Engine`.
