Layer Methods

This section describes the methods that can be used in code to manipulate the Layer object.

clearSelection()

Deselects all layer elements.

getElements()

Gets all layer elements.

Return Value: Array
The array of layer elements.