Tints
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Tint add ([color:
Color][, withProperties:
Object])
Creates a new tint swatch.
Parameter | Type | Description |
---|---|---|
color | Color | The color that the tint is based upon. (Optional) |
withProperties | Object | Initial values for properties of the new Tint (Optional) |
Tint anyItem ()
Returns any Tint in the collection.
number count ()
Displays the number of elements in the Tint.
Array
of Tint everyItem ()
Returns every Tint in the collection.
Tint firstItem ()
Returns the first Tint in the collection.
Tint item (index:
any)
Returns the Tint with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long String | The index or name. Can accept: Long or String. |
Tint itemByID (id:
number)
Returns the Tint with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
Tint itemByName (name:
string)
Returns the Tint with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of Tint itemByRange (from:
any, to:
any)
Returns the Tints within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long String Tint | The Tint, index, or name at the beginning of the range. Can accept: Tint, Long or String. |
to | Long String Tint | The Tint, index, or name at the end of the range. Can accept: Tint, Long or String. |
Tint lastItem ()
Returns the last Tint in the collection.
Tint middleItem ()
Returns the middle Tint in the collection.
Tint nextItem (obj:
Tint)
Returns the Tint whose index follows the specified Tint in the collection.
Parameter | Type | Description |
---|---|---|
obj | Tint | The Tint whose index comes before the desired Tint. |
Tint previousItem (obj:
Tint)
Returns the Tint with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | Tint | The index of the Tint that follows the desired Tint. |
string toSource ()
Generates a string which, if executed, will return the Tint.
Element of
Application.tints
Document.tints
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |