PathGradientBrush::SurroundColors Property

 

Gets or sets an array of colors that correspond to the points in the path this PathGradientBrush fills.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property array<Color>^ SurroundColors {
	array<Color>^ get();
	void set(array<Color>^ value);
}

Property Value

Type: array<System.Drawing::Color>^

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

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

.NET Framework
Available since 1.1
Return to top
Show: