语言

PathGradientBrush.InterpolationColors 属性

定义

获取或设置定义多色线性渐变的一个 ColorBlend 。

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

属性值

定义多色线性渐变的 A ColorBlend 。

注解

一个 ColorBlend 包含相应的颜色和位置数组。 位置是介于 0 到 1 之间的值,用于指定相应颜色所在的渐变路径的距离百分比。

适用于