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

Name Description
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

Name Description
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.

See Also