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

MethodDescription
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:

ParameterTypeDescription
indexint

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:

ParameterTypeDescription
indexint
valueIColorOperation

add(int operation, float parameter)

public abstract IColorOperation add(int operation, float parameter)

Adds a new operation to the end of collection.

Parameters:

ParameterTypeDescription
operationintOperation type.
parameterfloatOperation’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:

ParameterTypeDescription
operationintOperation 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:

ParameterTypeDescription
positionintThe index at which the operation will be inserted.
operationintOperation type.
parameterfloatOperation’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:

ParameterTypeDescription
positionintThe index at which the operation will be inserted.
operationintOperation type.

Returns: IColorOperation - Inserted operation.

removeAt(int index)

public abstract void removeAt(int index)

Removes the color operation from a collection.

Parameters:

ParameterTypeDescription
indexintIndex of a color operation to remove.

clear()

public abstract void clear()

Removes all color operations.