SpreadMethod enumeration

SpreadMethod enumeration

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

The SpreadMethod type exposes the following members:

Fields

FieldDescription
PADThe color of the last gradient stop is used to fill the rest of the gradient area.
REFLECTThe gradient is reflected (mirrored) outside its bounds.
REPEATThe gradient is repeated outside its bounds.

See Also