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