GradientSpreadMode Enum
The colors of a gradient outside the range of its stops.
public enum GradientSpreadModeFields
| Name | Value | Description |
|---|---|---|
Pad | 0 | The first and the last colors are extended. This is the default. |
Repeat | 1 | The gradient starts over. |
Reflect | 2 | The gradient is mirrored, then starts over. |
Transparent | 3 | Nothing is painted outside the range from 0 to 1: the gradient ends at its first and its last offsets, as the decal tile mode of graphics libraries. |