PathGradientBrush.Blend 属性


获取或设置一个 Blend,它指定定义渐变自定义过渡的位置和因素。Gets or sets a Blend that specifies positions and factors that define a custom falloff for the gradient.

 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; }
member this.Blend : System.Drawing.Drawing2D.Blend with get, set
Public Property Blend As Blend


一个 Blend,表示渐变的自定义过渡。A Blend that represents a custom falloff for the gradient.


Blend 包含混合系数和位置的相应数组。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 path.