Class
Transparency preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
TransparencyPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
blendingSpace | BlendingSpace: BlendingSpace.DEFAULT_VALUE BlendingSpace.RGB BlendingSpace.CMYK |
r/w | The color space used for blending the colors of transparent objects. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
globalLightAltitude | number (range: 0 - 100) | r/w | The altitude of the global light. (Range: 0 to 90) |
globalLightAngle | number (range: -180 - 180) | r/w | The angle of the global light. (Range: -360 to 360) |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | Application Document |
readonly | The parent of the TransparencyPreference (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of TransparencyPreference getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the TransparencyPreference.
Element of
Application.transparencyPreferences
Document.transparencyPreferences
Return
Array of TransparencyPreference TransparencyPreference.getElements ()
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |