ColorBlend
System.Drawing.Drawing2D.ColorBlend
Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing.Managed (4.0.0.0)
Defines arrays of colors and positions used for interpolating color blending in a multicolor gradient. This class cannot be inherited.
public class ColorBlendPublic Class ColorBlendConstructors
ColorBlend()
Initializes a new instance of the ColorBlend class.
ColorBlend(count)
Initializes a new instance of the ColorBlend class with the specified number of colors and positions.
Properties
Colors
Color[]: Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.
Positions
Single[]: Gets or sets the positions along a gradient line.
Last updated
Was this helpful?