Gradient Type
gradient-type
Sets whether the gradient is linear or radial.
| Value | Description |
|---|---|
linear (default) | The colors run in a straight line across the frame. Set the direction with gradient-angle. |
radial | The colors radiate outward from a center point. Shape it with gradient-radial-shape and gradient-radial-size, and position it with gradient-radial-x and gradient-radial-y. |
gradient-angle applies only to linear gradients, and the gradient-radial-* parameters apply only to radial gradients.