LinearGradientBrush.LinearColors 属性

定义

获取或设置渐变的起始色和结束色。

public:
 property cli::array <System::Drawing::Color> ^ LinearColors { cli::array <System::Drawing::Color> ^ get(); void set(cli::array <System::Drawing::Color> ^ value); };
public System.Drawing.Color[] LinearColors { get; set; }
member this.LinearColors : System.Drawing.Color[] with get, set
Public Property LinearColors As Color()

属性值

Color[]

一个由两个 Color 结构组成的数组,表示渐变的起始色和结束色。

适用于