PathGradientBrush.InterpolationColors Property

 

Gets or sets a ColorBlend that defines a multicolor linear gradient.

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

public ColorBlend InterpolationColors { get; set; }

Property Value

Type: System.Drawing.Drawing2D.ColorBlend

A ColorBlend that defines a multicolor linear gradient.

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.

.NET Framework
Available since 1.1
Return to top
Show: