Note

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

Access to this page requires authorization. You can try .

PathGradientBrush.InterpolationColors 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 a ColorBlend that defines a multicolor linear gradient.

public:
 property System::Drawing::Drawing2D::ColorBlend ^ InterpolationColors { System::Drawing::Drawing2D::ColorBlend ^ get(); void set(System::Drawing::Drawing2D::ColorBlend ^ value); };
public System.Drawing.Drawing2D.ColorBlend InterpolationColors { get; set; }
member this.InterpolationColors : System.Drawing.Drawing2D.ColorBlend with get, set
Public Property InterpolationColors As ColorBlend

Property Value

A ColorBlend that defines a multicolor linear gradient.

Remarks

A ColorBlend contains corresponding arrays of colors and positions. The positions are values from 0 through 1 that specify the percentage of the distance along the gradient path where the corresponding color is located.

Applies to


Feedback

Was this page helpful?