SpreadMethod Enum

SpreadMethod enumeration

Specifies how the colors in a gradient are spread beyond its bounds.

public enum SpreadMethod

Values

NameValueDescription
Pad0The color of the last gradient stop is used to fill the rest of the gradient area.
Reflect1The gradient is reflected (mirrored) outside its bounds.
Repeat2The gradient is repeated outside its bounds.

See Also