Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
count( | ) |
→ number |
itemByName( | name) |
→ Ink |
itemByRange( | from, to) |
→ Ink |
middleItem( | ) |
→ Ink |
previousItem( | obj) |
→ Ink |
toSource( | ) |
→ string |
-
anyItem( )→ Ink -
Returns any Ink in the collection.
-
count( )→ number -
Displays the number of elements in the Ink.
-
everyItem( )→ Ink -
Returns every Ink in the collection.
-
firstItem( )→ Ink -
Returns the first Ink in the collection.
-
item( index)→ Ink -
Returns the Ink with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByID( id)→ Ink -
Returns the Ink with the specified ID.
id
number The ID. -
itemByName( name)→ Ink -
Returns the Ink with the specified name.
name
string The name. -
itemByRange( from, to)→ Ink -
Returns the Inks within the specified range.
from
The Ink, index, or name at the beginning of the range. Can accept: Ink, Long Integer or String. to
The Ink, index, or name at the end of the range. Can accept: Ink, Long Integer or String. -
lastItem( )→ Ink -
Returns the last Ink in the collection.
-
middleItem( )→ Ink -
Returns the middle Ink in the collection.
-
nextItem( obj)→ Ink -
Returns the Ink whose index follows the specified Ink in the collection.
obj
Ink The Ink whose index comes before the desired Ink. -
previousItem( obj)→ Ink -
Returns the Ink with the index previous to the specified index.
obj
Ink The index of the Ink that follows the desired Ink. -
toSource( )→ string -
Generates a string which, if executed, will return the Ink.