GradientSpreadMode Enum

The colors of a gradient outside the range of its stops.

public enum GradientSpreadMode

Fields

NameValueDescription
Pad0The first and the last colors are extended. This is the default.
Repeat1The gradient starts over.
Reflect2The gradient is mirrored, then starts over.
Transparent3Nothing 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.