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

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.05
public sealed class ColorBlend

The ColorBlend type exposes the following members.

Public methodColorBlend
Initializes a new instance of the ColorBlend class.
Public methodColorBlend(Int32)
Initializes a new instance of the ColorBlend class with the specified number of colors and positions.
Public propertyColors
Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.
Public propertyPositions
Gets or sets the positions along a gradient line.
Public methodEquals
Tests whether the specified object is a ColorBlend class and is equivalent to this ColorBlend class.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also