Share via


PathGradientBrush.SurroundColors 屬性

定義

取得或設定色彩陣列,對應至這個 PathGradientBrush 所填滿之路徑中的點。

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

屬性值

Color[]

Color 結構陣列,表示與這個 PathGradientBrush 所填滿之路徑中的每個點相關聯的色彩。

備註

陣列中的每個SurroundColors都會Color對應至路徑中的點。

適用於