IColorOperationCollection

All Implemented Interfaces: com.aspose.slides.IGenericCloneable, com.aspose.slides.IGenericCollection

public interface IColorOperationCollection extends IGenericCloneable<IColorOperationCollection>, IGenericCollection<IColorOperation>

Represents a collection of color transform operations.

Methods

Method Description
get_Item(int index) Returns or sets the operation at the specified index.
set_Item(int index, IColorOperation value) Returns or sets the operation at the specified index.
add(int operation, float parameter) Adds a new operation to the end of collection.
add(int operation) Adds a new operation to the end of collection.
insert(int position, int operation, float parameter) Inserts the new operation to a collection.
insert(int position, int operation) Inserts the new operation to a collection.
removeAt(int index) Removes the color operation from a collection.
clear() Removes all color operations.

get_Item(int index)

public abstract IColorOperation get_Item(int index)

Returns or sets the operation at the specified index. Read/write IColorOperation.

Parameters:

Parameter Type Description
index int

Returns: IColorOperation

set_Item(int index, IColorOperation value)

public abstract void set_Item(int index, IColorOperation value)

Returns or sets the operation at the specified index. Read/write IColorOperation.

Parameters:

Parameter Type Description
index int
value IColorOperation

add(int operation, float parameter)

public abstract IColorOperation add(int operation, float parameter)

Adds a new operation to the end of collection.

Parameters:

Parameter Type Description
operation int Operation type.
parameter float Operation’s parameter.

Returns: IColorOperation - Added operation.

add(int operation)

public abstract IColorOperation add(int operation)

Adds a new operation to the end of collection.

Parameters:

Parameter Type Description
operation int Operation type.

Returns: IColorOperation - Added operation.

insert(int position, int operation, float parameter)

public abstract IColorOperation insert(int position, int operation, float parameter)

Inserts the new operation to a collection.

Parameters:

Parameter Type Description
position int The index at which the operation will be inserted.
operation int Operation type.
parameter float Operation’s parameter.

Returns: IColorOperation - Inserted operation.

insert(int position, int operation)

public abstract IColorOperation insert(int position, int operation)

Inserts the new operation to a collection.

Parameters:

Parameter Type Description
position int The index at which the operation will be inserted.
operation int Operation type.

Returns: IColorOperation - Inserted operation.

removeAt(int index)

public abstract void removeAt(int index)

Removes the color operation from a collection.

Parameters:

Parameter Type Description
index int Index of a color operation to remove.

clear()

public abstract void clear()

Removes all color operations.