ColorBlend Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Defines arrays of colors and positions used for interpolating color blending in a multicolor gradient. This class cannot be inherited.

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

System.Object
  System.Drawing.Drawing2D.ColorBlend

public sealed class ColorBlend

NameDescription
System_CAPS_pubmethodColorBlend()

Initializes a new instance of the ColorBlend class.

System_CAPS_pubmethodColorBlend(Int32)

Initializes a new instance of the ColorBlend class with the specified number of colors and positions.

NameDescription
System_CAPS_pubpropertyColors

Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.

System_CAPS_pubpropertyPositions

Gets or sets the positions along a gradient line.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: