System.Drawing.Drawing2D.LinearGradientBrush.InterpolationColors Property

Gets or sets a System.Drawing.Drawing2D.ColorBlend that defines a multicolor linear gradient.

Syntax

public ColorBlend InterpolationColors { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A System.Drawing.Drawing2D.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 line where the corresponding color is located.

Setting this property creates a multicolor gradient with one color at each position along the gradient line. Setting this property nullifies all previous color, position, and falloff settings for this System.Drawing.Drawing2D.LinearGradientBrush.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0