Tints
See also Tint.
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
Tint [] (index:
number)
Returns the Tint with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
Tint add (baseColor:
Color[, withProperties:
Object])
Creates a new tint swatch.
Parameter | Type | Description |
---|---|---|
baseColor | Color | The color that the tint is based upon. |
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:
varies)
Returns the Tint with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer 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:
varies, to:
varies)
Returns the Tints within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String Tint | The Tint, index, or name at the beginning of the range. Can accept: Tint, Long Integer or String. |
to | Long Integer String Tint | The Tint, index, or name at the end of the range. Can accept: Tint, Long Integer 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, 28-Apr-2012 v3.0.3i | Contents :: Index |