Redigera

Dela via


LinearGradientBrush.Blend Property

Definition

Gets or sets a Blend that specifies positions and factors that define a custom falloff for the gradient.

public:
 property System::Drawing::Drawing2D::Blend ^ Blend { System::Drawing::Drawing2D::Blend ^ get(); void set(System::Drawing::Drawing2D::Blend ^ value); };
public System.Drawing.Drawing2D.Blend? Blend { get; set; }
public System.Drawing.Drawing2D.Blend Blend { get; set; }
member this.Blend : System.Drawing.Drawing2D.Blend with get, set
Public Property Blend As Blend

Property Value

A Blend that represents a custom falloff for the gradient.

Remarks

A Blend contains corresponding arrays of blend factors and positions. The blend factors specify the percentages of the starting color and ending color to use at the corresponding position. The positions are given as a percentage of distance along the gradient line.

Applies to