PathGradientBrush.SurroundColors 属性

定义

获取或设置与此 PathGradientBrush 填充的路径中的点相对应的颜色的数组。Gets or sets an array of colors that correspond to the points in the path this PathGradientBrush fills.

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 填充的路径中的各点相关联的颜色。An array of Color structures that represents the colors associated with each point in the path this PathGradientBrush fills.

注解

SurroundColors 数组中的每个 Color 都对应于路径中的一个点。Each Color in the SurroundColors array corresponds to a point in the path.

适用于