PreferencesFlattenerPresets

A collection of transparency flattener presets.

Instance Properties

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

Methods

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