-
add( |
[withProperties]) |
→ Color |
-
Creates a new Color.
withProperties
|
Object
Initial values for properties of the new Color (Optional)
|
-
-
Returns any Color in the collection.
-
-
Displays the number of elements in the Color.
-
-
Returns every Color in the collection.
-
-
Returns the first Color in the collection.
-
-
Returns the Color with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the Color with the specified ID.
-
itemByName( |
name) |
→ Color |
-
Returns the Color with the specified name.
-
itemByRange( |
from, to) |
→ Color |
-
Returns the Colors within the specified range.
from
|
The Color, index, or name at the beginning of the range. Can accept: Color, Long Integer or String.
|
to
|
The Color, index, or name at the end of the range. Can accept: Color, Long Integer or String.
|
-
-
Returns the last Color in the collection.
-
-
Returns the middle Color in the collection.
-
-
Returns the Color whose index follows the specified Color in the collection.
obj
|
Color
The Color whose index comes before the desired Color.
|
-
previousItem( |
obj) |
→ Color |
-
Returns the Color with the index previous to the specified index.
obj
|
Color
The index of the Color that follows the desired Color.
|
-
-
Generates a string which, if executed, will return the Color.