Enum SpreadMethod

SpreadMethod enumeration

The spread method. Describes how the brush should fill the content area outside of the primary, initial gradient area.

public enum SpreadMethod

Values

NameValueDescription
Pad0The pad. In this method, the first color and the last color are used to fill the remaining fill area at the beginning and end.
Reflect1The reflect. In this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
Repeat2The repeat. In this method, the gradient stops are repeated in order until the fill area is covered.

See Also