XpsSpreadMethod enumeration

XpsSpreadMethod enumeration

Valid values of gradient brushes’ SpreadMethod property.

The XpsSpreadMethod type exposes the following members:

Fields

FieldDescription
PADIn this method, the first color and the last color are used to fill the remaining
fill area at the beginning and end.
REFLECTIn this method, the gradient stops are replayed in reverse order repeatedly to cover the fill area.
REPEATIn this method, the gradient stops are repeated in order until the fill area is covered.

See Also