Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PathGradientBrush.SurroundColors Property

Definition

Namespace:
System.Drawing.Drawing2D
Assembly:
System.Drawing.Common.dll
Assembly:
System.Drawing.dll
Package:
System.Drawing.Common v11.0.0-preview.5.26302.115
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs
Source:
PathGradientBrush.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?