ColorBlend Class

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

Module: aspose.imaging

Full Name: aspose.imaging.ColorBlend

Constructors

NameDescription
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

NameTypeAccessDescription
colorsColor[]r/wGets or sets an array of colors that represents the colors to use at corresponding positions along a gradient.
positionsfloatr/wGets or sets the positions along a gradient line.

Constructor: ColorBlend()

 ColorBlend() 

Initializes a new instance of the ColorBlend class.

Constructor: ColorBlend(count)

 ColorBlend(count) 

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

Parameters:

ParameterTypeDescription
countintThe number of colors and positions in this ColorBlend.