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