indexOfShape(shape)

Class: Panel.

Description:

Gets an index of a specified Shape object.

Parameters:

Name Type Description

shape

Shape

Shape object in question

Returns:

Returns an index of the shape or -1 if the shape is not found.

Type: number