# Sandbox.Bitmap.DrawLine

```csharp
void DrawLine(Vector2 start, Vector2 end)
```

Draws a line using the current pen settings.

### Parameters

- `start` (`Vector2`): The starting point of the line.
- `end` (`Vector2`): The ending point of the line.

Declared in [Sandbox.Bitmap](/api/Sandbox.Bitmap).
Assembly: `Sandbox.Engine`.
