removeShape(index)

Class: Window.

Description:

Removes a specified Shape.

Parameters:

Name Type Description

index

number | Shape

Shape or index of the Shape to be removed

Returns:

Returns removed Shape or false in case when index is invalid argument or is outside of bounds.

Type: Shape | boolean