PathGradientBrush.InterpolationColors 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置定义多色线性渐变的一个 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 之间的值,用于指定相应颜色所在的渐变路径的距离百分比。