Tints
A collection of tints.
Properties
| Name | Type |
Access | Description |
|---|
|
Number |
readonly |
The number of objects in the collection. |
Methods
Returns the Tint with the specified index.
→ Tint
Creates a new tint swatch.
baseColor
Color
The color that the tint is based upon.
withProperties?
Object
Initial values for properties of the new Tint
Returns any Tint in the collection.
Displays the number of elements in the Tint.
Returns every Tint in the collection.
Returns the first Tint in the collection.
Returns the Tint with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the Tint with the specified ID.
Returns the Tint with the specified name.
→ Tint[]
Returns the Tints within the specified range.
from
LongInteger | Tint | String
The Tint, index, or name at the beginning of the range. Can accept: Tint, Long Integer or String.
to
LongInteger | Tint | String
The Tint, index, or name at the end of the range. Can accept: Tint, Long Integer or String.
Returns the last Tint in the collection.
Returns the middle Tint in the collection.
Returns the Tint whose index follows the specified Tint in the collection.
obj
Tint
The Tint whose index comes before the desired Tint.
Returns the Tint with the index previous to the specified index.
obj
Tint
The index of the Tint that follows the desired Tint.
Generates a string which, if executed, will return the Tint.
Object of 2
Properties elsewhere that hold a Tints.