A contour option.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Boolean, ContourOptionsTypes, EventListeners, Events, Object, String, TextWrapPreference,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
alphaChannelPathNames |
readonly |
A list of the alpha channels stored in the graphic. |
|
|
contourPathName |
read/write |
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.BOUNDING_BOX ContourOptionsTypes.PHOTOSHOP_PATH ContourOptionsTypes.DETECT_EDGES ContourOptionsTypes.ALPHA_CHANNEL ContourOptionsTypes.GRAPHIC_FRAME ContourOptionsTypes.SAME_AS_CLIPPING |
read/write |
The contour type. |
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
includeInsideEdges |
read/write |
If true, creates interior clipping paths within the surrounding clipping path. Note: Valid only when clipping type is alpha channel or detect edges. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
parent |
readonly |
The parent of the ContourOption (a TextWrapPreference). |
|
|
photoshopPathNames |
readonly |
A list of the clipping paths stored in the graphic. |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
ContourOption getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the ContourOption.
String toSpecifier ()
Retrieves the object specifier.