FlattenerPresets

A collection of transparency flattener presets.

Methods

FlattenerPresetadd ([withProperties:
Object])
Creates a new FlattenerPreset.

Parameter Type Description
withProperties Object Initial values for properties of the new FlattenerPreset (Optional)

FlattenerPresetanyItem ()
Returns any FlattenerPreset in the collection.

number count ()
Displays the number of elements in the FlattenerPreset.

Array of FlattenerPreseteveryItem ()
Returns every FlattenerPreset in the collection.

FlattenerPresetfirstItem ()
Returns the first FlattenerPreset in the collection.

FlattenerPresetitem (index:
any)
Returns the FlattenerPreset with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

FlattenerPresetitemByID (id:
number)
Returns the FlattenerPreset with the specified ID.

Parameter Type Description
id number The ID.

FlattenerPresetitemByName (name:
string)
Returns the FlattenerPreset with the specified name.

Parameter Type Description
name string The name.

Array of FlattenerPresetitemByRange (from:
any, to:
any)
Returns the FlattenerPresets within the specified range.

Parameter Type Description
from FlattenerPreset
Long Integer
String
The FlattenerPreset, index, or name at the beginning of the range. Can accept: FlattenerPreset, Long Integer or String.
to FlattenerPreset
Long Integer
String
The FlattenerPreset, index, or name at the end of the range. Can accept: FlattenerPreset, Long Integer or String.

FlattenerPresetlastItem ()
Returns the last FlattenerPreset in the collection.

FlattenerPresetmiddleItem ()
Returns the middle FlattenerPreset in the collection.

FlattenerPresetnextItem (obj:
FlattenerPreset)
Returns the FlattenerPreset whose index follows the specified FlattenerPreset in the collection.

Parameter Type Description
obj FlattenerPreset The FlattenerPreset whose index comes before the desired FlattenerPreset.

FlattenerPresetpreviousItem (obj:
FlattenerPreset)
Returns the FlattenerPreset with the index previous to the specified index.

Parameter Type Description
obj FlattenerPreset The index of the FlattenerPreset that follows the desired FlattenerPreset.

string toSource ()
Generates a string which, if executed, will return the FlattenerPreset.

Element of:

Application.flattenerPresets

Leave a Comment

Previous post:

Next post: