System.Drawing.Drawing2D.ColorBlend.Positions Property

Gets or sets the positions along a gradient line.

Syntax

public float[] Positions { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The elements of this array specify percentages of distance along the gradient line. For example, an element value of 0.2f specifies that this point is 20 percent of the total distance from the starting point. The elements in this array are represented by float values between 0.0f and 1.0f, and the first element of the array must be 0.0f and the last element must be 1.0f.

Along with the ColorBlend.Colors property, this property defines a multicolor gradient.

Requirements

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