GradientBrush.SpreadMethod GradientBrush.SpreadMethod GradientBrush.SpreadMethod GradientBrush.SpreadMethod Property

Definition

Gets or sets the type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted.

public : GradientSpreadMethod SpreadMethod { get; set; }
GradientSpreadMethod SpreadMethod();

void SpreadMethod(GradientSpreadMethod spreadmethod);
public GradientSpreadMethod SpreadMethod { get; set; }
Public ReadWrite Property SpreadMethod As GradientSpreadMethod
<gradientBrush SpreadMethod="Pad"/>
-or-
<gradientBrush SpreadMethod="Reflect"/>
-or-
<gradientBrush SpreadMethod="Repeat"/>

Property Value

The type of spread method used to paint the gradient. The default is Pad.