insert method

insert(self, position, operation)

Inserts the new operation to a collection.

Returns

Inserted operation.

def insert(self, position, operation):
    ...
ParameterTypeDescription
positionintThe index at which the operation will be inserted.
operationColorTransformOperationOperation type.

insert(self, position, operation, parameter)

Inserts the new operation to a collection.

Returns

Inserted operation.

def insert(self, position, operation, parameter):
    ...
ParameterTypeDescription
positionintThe index at which the operation will be inserted.
operationColorTransformOperationOperation type.
parameterfloatOperation’s parameter.

See Also