GradientStopCollection
GradientStopCollection class
表示一个渐变停止的集合。
public sealed class GradientStopCollection : PVIObject, IGradientStopCollection
Properties
Methods
Name | Description |
---|
Add(float, Color) | 创建新的渐变停止并将其添加到集合的末尾。 |
Add(float, PresetColor) | 创建新的渐变停止并将其添加到集合的末尾。 |
Add(float, SchemeColor) | 创建新的渐变停止并将其添加到集合的末尾。 |
Clear() | 从集合中移除所有渐变停止。 |
CopyTo(Array, int) | 将集合中的所有元素复制到指定数组。 |
override Equals(object) | 与指定对象进行比较。 |
GetEnumerator() | 返回一个迭代器,用于遍历集合。 |
override GetHashCode() | 返回哈希码。 |
Insert(int, float, Color) | 创建新的渐变停止并插入到指定索引的集合中。 |
Insert(int, float, PresetColor) | 创建新的渐变停止并插入到指定索引的集合中。 |
Insert(int, float, SchemeColor) | 创建新的渐变停止并插入到指定索引的集合中。 |
RemoveAt(int) | 在指定索引处移除一个渐变停止。 |
See Also