public final class ColorOperationCollection extends java.lang.Object implements IColorOperationCollection
Represents a collection of color transform operations.
Modifier and Type | Method and Description |
---|---|
IColorOperation |
add(int operation)
Adds a new operation to the end of collection.
|
IColorOperation |
add(int operation,
float parameter)
Adds a new operation to the end of collection.
|
void |
clear()
Removes all color operations.
|
IColorOperationCollection |
cloneT()
Clones current object
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array.
|
java.lang.Object |
deepClone()
Creates a copy of a ColorOperationCollection collection.
|
IColorOperation |
get_Item(int index)
Returns or sets the operation at the specified index.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
IColorOperation |
insert(int position,
int operation)
Inserts the new operation to a collection.
|
IColorOperation |
insert(int position,
int operation,
float parameter)
Inserts the new operation to a collection.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColorOperation> |
iterator()
Returns an enumerator that iterates through the collection.
|
void |
removeAt(int index)
Removes the color operation from a collection.
|
void |
set_Item(int index,
IColorOperation value)
Returns or sets the operation at the specified index.
|
int |
size()
Returns the number of operations in a collection.
|
public final int size()
Returns the number of operations in a collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
public final IColorOperation get_Item(int index)
Returns or sets the operation at the specified index.
Read/write ColorOperation
.
get_Item
in interface IColorOperationCollection
public final void set_Item(int index, IColorOperation value)
Returns or sets the operation at the specified index.
Read/write ColorOperation
.
set_Item
in interface IColorOperationCollection
public final IColorOperation add(int operation, float parameter)
Adds a new operation to the end of collection.
add
in interface IColorOperationCollection
operation
- Operation type.parameter
- Operation's parameter.public final IColorOperation add(int operation)
Adds a new operation to the end of collection.
add
in interface IColorOperationCollection
operation
- Operation type.public final IColorOperation insert(int position, int operation, float parameter)
Inserts the new operation to a collection.
insert
in interface IColorOperationCollection
position
- The index at which the operation will be inserted.operation
- Operation type.parameter
- Operation's parameter.public final IColorOperation insert(int position, int operation)
Inserts the new operation to a collection.
insert
in interface IColorOperationCollection
position
- The index at which the operation will be inserted.operation
- Operation type.public final void removeAt(int index)
Removes the color operation from a collection.
removeAt
in interface IColorOperationCollection
index
- Index of a color operation to remove.public final void clear()
Removes all color operations.
clear
in interface IColorOperationCollection
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColorOperation> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColorOperation>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<IColorOperation>
iterator
in interface java.lang.Iterable<IColorOperation>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
array
- Target array.index
- Starting index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
public final java.lang.Object deepClone()
Creates a copy of a ColorOperationCollection collection.
ColorOperationCollection
collection.public final IColorOperationCollection cloneT()
Clones current object
cloneT
in interface IGenericCloneable<IColorOperationCollection>