ColorBlend 类

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描述
ColorBlend()初始化一个新的 ColorBlend 类实例。
ColorBlend(count)使用指定的颜色数和位置,初始化一个新的 ColorBlend 类实例。

Properties

NameTypeAccess描述
colorsColor[]r/w获取或设置一个颜色数组,表示在渐变的相应位置使用的颜色。
位置float[]r/w获取或设置渐变线上的位置。

Constructor: ColorBlend()

 ColorBlend() 

初始化一个新的 ColorBlend 类实例。

Constructor: ColorBlend(count)

 ColorBlend(count) 

使用指定的颜色数和位置,初始化一个新的 ColorBlend 类实例。

Parameters:

参数TypeDescription
countintColorBlend 中的颜色和位置的数量。