ColorOperationCollection
ColorOperationCollection 类
表示颜色变换操作的集合。
public sealed class ColorOperationCollection : IColorOperationCollection
属性
| 名称 | 描述 |
|---|---|
| Count { get; } | 返回集合中操作的数量。只读 Int32。 |
| IsSynchronized { get; } | 返回一个值,指示对集合的访问是否已同步(线程安全)。只读 Boolean。 |
| Item { get; set; } | 返回或设置指定索引处的操作。读写 ColorOperation。 |
| SyncRoot { get; } | 返回同步根。只读 Object。 |
方法
| 名称 | 描述 |
|---|---|
| Add(ColorTransformOperation) | 向集合的末尾添加一个新操作。 |
| Add(ColorTransformOperation, float) | 向集合的末尾添加一个新操作。 |
| Clear() | 删除所有颜色操作。 |
| Clone() | 创建一个 ColorOperationCollection 集合的副本。 |
| CloneT() | 克隆当前对象 |
| CopyTo(Array, int) | 将集合中的所有元素复制到指定的数组。 |
| GetEnumerator() | 返回一个遍历集合的枚举器。 |
| Insert(int, ColorTransformOperation) | 将新操作插入到集合中。 |
| Insert(int, ColorTransformOperation, float) | 将新操作插入到集合中。 |
| RemoveAt(int) | 从集合中删除颜色操作。 |