# Sandbox.Fill.WithRotation

```csharp
Fill WithRotation(float degrees)
```

Rotate an image or gradient tile around its center, in degrees, without rotating the shape.

### Parameters

- `degrees` (`float`)

### Returns

`Fill`

Declared in [Sandbox.Fill](/api/Sandbox.Fill).
Assembly: `Sandbox.Engine`.
