Class
A contour option. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
ContourOption
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
alphaChannelPathNames | Array of string | readonly | A list of the alpha channels stored in the graphic. |
contourPathName | string | r/w | The alpha channel or Photoshop path to use for the contour option. Valid only when the contour options is photoshop path or alpha channel. |
contourType | ContourOptionsTypes: ContourOptionsTypes.BOUNDING_BOX ContourOptionsTypes.PHOTOSHOP_PATH ContourOptionsTypes.DETECT_EDGES ContourOptionsTypes.ALPHA_CHANNEL ContourOptionsTypes.GRAPHIC_FRAME ContourOptionsTypes.SAME_AS_CLIPPING |
r/w | The contour type. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
includeInsideEdges | bool | r/w | If true, creates interior clipping paths within the surrounding clipping path. Note: Valid only when clipping type is alpha channel or detect edges. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | TextWrapPreference | readonly | The parent of the ContourOption (a TextWrapPreference). |
photoshopPathNames | Array of string | readonly | A list of the clipping paths stored in the graphic. |
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 ContourOption 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 ContourOption.
Element of
TextWrapPreference.contourOptions
Return
Array of ContourOption ContourOption.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |