ColorBlend

ColorBlend class

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

public sealed class ColorBlend

Constructors

NameDescription
ColorBlend()Initializes a new instance of the ColorBlend class.
ColorBlend(int)Initializes a new instance of the ColorBlend class with the specified number of colors and positions.

Properties

NameDescription
Colors { get; set; }Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.
Positions { get; set; }Gets or sets the positions along a gradient line.

Methods

NameDescription
override Equals(object)Tests whether the specified object is a ColorBlend class and is equivalent to this ColorBlend class.
override GetHashCode()Returns a hash code for this instance.

See Also