reorder method

reorder

Moves a shape from the collection to the specified position.

def reorder(self, index, shape):
    ...
ParameterTypeDescription
indexintTarget index.
shapeIShapeShape to move.

reorder

Moves shapes from the collection to the specified position. Shapes will be placed starting from index in order they appear in list.

def reorder(self, index, shapes):
    ...
ParameterTypeDescription
indexintTarget index.
shapesList[IShape]Shapes to move.

See Also