-
add( |
[withProperties]) |
→ Layer |
-
Creates a new Layer.
withProperties
|
Object
Initial values for properties of the new Layer (Optional)
|
-
-
Returns any Layer in the collection.
-
-
Displays the number of elements in the Layer.
-
-
Returns every Layer in the collection.
-
-
Returns the first Layer in the collection.
-
-
Returns the Layer with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the Layer with the specified ID.
-
itemByName( |
name) |
→ Layer |
-
Returns the Layer with the specified name.
-
itemByRange( |
from, to) |
→ Layer |
-
Returns the Layers within the specified range.
from
|
The Layer, index, or name at the beginning of the range. Can accept: Layer, Long Integer or String.
|
to
|
The Layer, index, or name at the end of the range. Can accept: Layer, Long Integer or String.
|
-
-
Returns the last Layer in the collection.
-
-
Returns the middle Layer in the collection.
-
-
Returns the Layer whose index follows the specified Layer in the collection.
obj
|
Layer
The Layer whose index comes before the desired Layer.
|
-
previousItem( |
obj) |
→ Layer |
-
Returns the Layer with the index previous to the specified index.
obj
|
Layer
The index of the Layer that follows the desired Layer.
|
-
-
Generates a string which, if executed, will return the Layer.