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