|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ColorOperationCollection
public final class ColorOperationCollection
Represents a collection of color transform operations.
Method Summary | |
---|---|
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()
|
void |
copyTo(IColorOperation[] 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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
Returns the number of operations in a collection.
Read-only int
.
size
in interface IGenericCollection<IColorOperation>
public IColorOperation get_Item(int index)
Returns or sets the operation at the specified index.
Read/write ColorOperation
.
get_Item
in interface IColorOperationCollection
public 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 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 IColorOperation add(int operation)
Adds a new operation to the end of collection.
add
in interface IColorOperationCollection
operation
- Operation type.
public 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 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 void removeAt(int index)
Removes the color operation from a collection.
removeAt
in interface IColorOperationCollection
index
- Index of a color operation to remove.public void clear()
Removes all color operations.
clear
in interface IColorOperationCollection
public 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>
T:System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public void copyTo(IColorOperation[] array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface IGenericCollection<IColorOperation>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface IGenericCollection<IColorOperation>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface IGenericCollection<IColorOperation>
public java.lang.Object deepClone()
Creates a copy of a ColorOperationCollection collection.
ColorOperationCollection
collection.public IColorOperationCollection cloneT()
cloneT
in interface IGenericCloneable<IColorOperationCollection>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |