ColorOperationCollection

ColorOperationCollection class

表示一个颜色变换操作的集合。

public sealed class ColorOperationCollection : IColorOperationCollection

Properties

NameDescription
Count { get; }返回集合中操作的数量。只读 Int32。
IsSynchronized { get; }返回一个值,指示对集合的访问是否是同步的(线程安全)。只读 Boolean。
Item { get; set; }返回或设置指定索引处的操作。读写 ColorOperation
SyncRoot { get; }返回一个同步根。只读 Object。

Methods

NameDescription
Add(ColorTransformOperation)将一个新操作添加到集合的末尾。
Add(ColorTransformOperation, float)将一个新操作添加到集合的末尾。
Clear()移除所有颜色操作。
Clone()创建 ColorOperationCollection 集合的副本。
CloneT()克隆当前对象
CopyTo(Array, int)将集合中的所有元素复制到指定的数组。
GetEnumerator()返回一个枚举器,该枚举器遍历集合。
Insert(int, ColorTransformOperation)将新操作插入到集合中。
Insert(int, ColorTransformOperation, float)将新操作插入到集合中。
RemoveAt(int)从集合中移除颜色操作。

See Also