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