Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
count( | ) |
→ number |
itemByName( | name) |
→ Graphic |
itemByRange( | from, to) |
→ Graphic |
middleItem( | ) |
→ Graphic |
previousItem( | obj) |
→ Graphic |
toSource( | ) |
→ string |
-
anyItem( )→ Graphic -
Returns any Graphic in the collection.
-
count( )→ number -
Displays the number of elements in the Graphic.
-
everyItem( )→ Graphic -
Returns every Graphic in the collection.
-
firstItem( )→ Graphic -
Returns the first Graphic in the collection.
-
item( index)→ Graphic -
Returns the Graphic with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByID( id)→ Graphic -
Returns the Graphic with the specified ID.
id
number The ID. -
itemByName( name)→ Graphic -
Returns the Graphic with the specified name.
name
string The name. -
itemByRange( from, to)→ Graphic -
Returns the Graphics within the specified range.
from
The Graphic, index, or name at the beginning of the range. Can accept: Graphic, Long Integer or String. to
The Graphic, index, or name at the end of the range. Can accept: Graphic, Long Integer or String. -
lastItem( )→ Graphic -
Returns the last Graphic in the collection.
-
middleItem( )→ Graphic -
Returns the middle Graphic in the collection.
-
nextItem( obj)→ Graphic -
Returns the Graphic whose index follows the specified Graphic in the collection.
obj
Graphic The Graphic whose index comes before the desired Graphic. -
previousItem( obj)→ Graphic -
Returns the Graphic with the index previous to the specified index.
obj
Graphic The index of the Graphic that follows the desired Graphic. -
toSource( )→ string -
Generates a string which, if executed, will return the Graphic.