# Sandbox.Painter.Arc

```csharp
void Arc(Vector2 center, float radius, float startAngle, float sweepAngle)
```

Draws an arc using the current [Sandbox.Painter.Stroke](/api/Sandbox.Painter/Stroke) with angles in clockwise degrees from right. Negative sweeps run counterclockwise.
Radius measures to the centerline in drawing pixels. Sweeps of at least 360 degrees form a closed ring.

### Parameters

- `center` (`Vector2`)
- `radius` (`float`)
- `startAngle` (`float`)
- `sweepAngle` (`float`)

Declared in [Sandbox.Painter](/api/Sandbox.Painter).
Assembly: `Sandbox.Engine`.
