LayoutPICTs

A collection of PICT graphics.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

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