# Sandbox.Painter.Scale

## Overload 1

```csharp
void Scale(float scale)
```

Scales both drawing axes around their current origin, including stroke widths and text.

### Parameters

- `scale` (`float`)

## Overload 2

```csharp
void Scale(Vector2 scale)
```

Scales each drawing axis around the current origin.

### Parameters

- `scale` (`Vector2`)

## Overload 3

```csharp
void Scale(float x, float y)
```

Scales each drawing axis around the current origin.

### Parameters

- `x` (`float`)
- `y` (`float`)

Declared in [Sandbox.Painter](/api/Sandbox.Painter).
Assembly: `Sandbox.Engine`.
