Edit in GitHubLog an issue

FlattenerPresets

A collection of transparency flattener presets.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

FlattenerPreset add( Object withProperties )

Creates a new FlattenerPreset.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new FlattenerPreset (Optional)

Number count()

Displays the number of elements in the FlattenerPreset.


FlattenerPreset item( Mixed index )

Returns the FlattenerPreset with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

FlattenerPreset itemByName( String name )

Returns the FlattenerPreset with the specified name.

Parameters

TypeNameDescription
String
name
The name.

FlattenerPreset itemByID( Number id )

Returns the FlattenerPreset with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

FlattenerPreset itemByRange( Mixed from, Mixed to )

Returns the FlattenerPresets within the specified range.

Parameters

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

FlattenerPreset firstItem()

Returns the first FlattenerPreset in the collection.


FlattenerPreset lastItem()

Returns the last FlattenerPreset in the collection.


FlattenerPreset middleItem()

Returns the middle FlattenerPreset in the collection.


FlattenerPreset previousItem( FlattenerPreset obj )

Returns the FlattenerPreset with the index previous to the specified index.

Parameters

TypeNameDescription
FlattenerPreset
obj
The index of the FlattenerPreset that follows the desired FlattenerPreset.

FlattenerPreset nextItem( FlattenerPreset obj )

Returns the FlattenerPreset whose index follows the specified FlattenerPreset in the collection.

Parameters

TypeNameDescription
FlattenerPreset
obj
The FlattenerPreset whose index comes before the desired FlattenerPreset.

FlattenerPreset anyItem()

Returns any FlattenerPreset in the collection.


FlattenerPreset everyItem()

Returns every FlattenerPreset in the collection.


String toSource()

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


FlattenerPreset []( Number index )

Returns the FlattenerPreset with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.