ColorBlend Class
Contents
[
Hide
]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
Name | Description |
---|---|
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
Name | Type | Access | Description |
---|---|---|---|
colors | Color[] | r/w | Gets or sets an array of colors that represents the colors to use at corresponding positions along a gradient. |
positions | float | r/w | Gets 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:
Parameter | Type | Description |
---|---|---|
count | int | The number of colors and positions in this ColorBlend. |