GraphicLayers
A collection of graphic layers.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
GraphicLayer [] (index:Number)
Returns the GraphicLayer with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
GraphicLayer anyItem ()
Returns any GraphicLayer in the collection.
Number count ()
Displays the number of elements in the GraphicLayer.
GraphicLayer everyItem ()
Returns every GraphicLayer in the collection.
GraphicLayer firstItem ()
Returns the first GraphicLayer in the collection.
GraphicLayer item (index:Varies LongInteger String)
Returns the GraphicLayer with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
GraphicLayer itemByID (id:Number)
Returns the GraphicLayer with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
GraphicLayer itemByName (name:String)
Returns the GraphicLayer with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
GraphicLayer itemByRange (from:Varies GraphicLayer LongInteger String, to:Varies GraphicLayer LongInteger String)
Returns the GraphicLayers within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The GraphicLayer, index, or name at the beginning of the range. Can accept: GraphicLayer, Long Integer or String. |
to |
LongInteger |
The GraphicLayer, index, or name at the end of the range. Can accept: GraphicLayer, Long Integer or String. |
GraphicLayer lastItem ()
Returns the last GraphicLayer in the collection.
GraphicLayer middleItem ()
Returns the middle GraphicLayer in the collection.
GraphicLayer nextItem (obj:GraphicLayer)
Returns the GraphicLayer whose index follows the specified GraphicLayer in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The GraphicLayer whose index comes before the desired GraphicLayer. |
GraphicLayer previousItem (obj:GraphicLayer)
Returns the GraphicLayer with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the GraphicLayer that follows the desired GraphicLayer. |
String toSource ()
Generates a string which, if executed, will return the GraphicLayer.
Object of
GraphicLayerOption.graphicLayers
GraphicLayer.graphicLayers