add method

add(self, operation)

Adds a new operation to the end of collection.

Returns

Added operation.

def add(self, operation):
    ...
ParameterTypeDescription
operationColorTransformOperationOperation type.

add(self, operation, parameter)

Adds a new operation to the end of collection.

Returns

Added operation.

def add(self, operation, parameter):
    ...
ParameterTypeDescription
operationColorTransformOperationOperation type.
parameterfloatOperation’s parameter.

See Also