GraphicLayers
A collection of graphic layers.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the GraphicLayer.
GraphicLayer item( Mixed index )
Returns the GraphicLayer with the specified index or name.
Parameters
GraphicLayer itemByName( String name )
Returns the GraphicLayer with the specified name.
Parameters
GraphicLayer itemByID( Number id )
Returns the GraphicLayer with the specified ID.
Parameters
GraphicLayer itemByRange( Mixed from, Mixed to )
Returns the GraphicLayers within the specified range.
Parameters
GraphicLayer firstItem()
Returns the first GraphicLayer in the collection.
GraphicLayer lastItem()
Returns the last GraphicLayer in the collection.
GraphicLayer middleItem()
Returns the middle GraphicLayer in the collection.
GraphicLayer previousItem( GraphicLayer obj )
Returns the GraphicLayer with the index previous to the specified index.
Parameters
GraphicLayer nextItem( GraphicLayer obj )
Returns the GraphicLayer whose index follows the specified GraphicLayer in the collection.
Parameters
GraphicLayer anyItem()
Returns any GraphicLayer in the collection.
GraphicLayer everyItem()
Returns every GraphicLayer in the collection.
String toSource()
Generates a string which, if executed, will return the GraphicLayer.
GraphicLayer []( Number index )
Returns the GraphicLayer with the specified index.