insert method

insert

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

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