SpreadMethod (LinearGradientBrush)


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

<object SpreadMethod="GradientSpreadMethod"  .../>
value = object.SpreadMethod
object.SpreadMethod = value

Type: GradientSpreadMethod

One of the enumeration values that specifies the type of spread method used to paint the gradient.

This property is read/write. The default value is Pad.

Community Additions