# Sandbox.Fill.GradientBuilder

Builds a gradient by value without allocating stop arrays. Add 2 to 8 stops before converting to Fill.

- Kind: struct
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Methods

- [`WithAngle`](/api/Sandbox.Fill.GradientBuilder/WithAngle): Returns a linear or conic gradient with an absolute clockwise angle in degrees from right. Radial gradients have no angle.
- [`WithStop`](/api/Sandbox.Fill.GradientBuilder/WithStop): Returns a copy with another stop. Offsets are ordered in [0, 1]; equal offsets create hard transitions.
