Edit

Share via


PathGradientBrush.SurroundColors Property

Definition

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()

Property Value

Color[]

An array of Color structures that represents the colors associated with each point in the path this PathGradientBrush fills.

Remarks

Each Color in the SurroundColors array corresponds to a point in the path.

Applies to