ContourOption

A contour option.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

Boolean, ContourOptionsTypes, EventListeners, Events, Object, String,

Hierarchy:

Superclass: Preference

Class: ContourOption

Property Listing

Property

Type

Access

Description

alphaChannelPathNames

Array of String

readonly

A list of the alpha channels stored in the graphic.

contourPathName

String

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

ContourOptionsTypes.ALPHA_CHANNEL

ContourOptionsTypes.BOUNDING_BOX

ContourOptionsTypes.DETECT_EDGES

ContourOptionsTypes.GRAPHIC_FRAME

ContourOptionsTypes.PHOTOSHOP_PATH

ContourOptionsTypes.SAME_AS_CLIPPING

ContourOptionsTypes.SELECT_SUBJECT

read/write

The contour type.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

includeInsideEdges

Boolean

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

Boolean

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

read/write

A property that allows setting of several properties at the same time.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

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 File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

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.

Object of

TextWrapPreference.contourOptions

Event.parent

EventListener.parent

MutationEvent.parent

Return

ContourOption.getElements()