DottedStrokeStyle

A dotted stroke style.

Methods:

addEventListener, duplicate, getElements, remove, removeEventListener, toSource, toSpecifier

Objects:

Boolean, EventListeners, Events, Number, Object, String, StrokeCornerAdjustment

Hierarchy:

Superclass: StrokeStyle

Class: DottedStrokeStyle

Property Listing

Property

Type

Access

Description

dotArray

Array of Number

Array of String

read/write

The length of gaps between dots. Define up to five values.

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

id

Number

readonly

The unique ID of the DottedStrokeStyle.

index

Number

readonly

The index of the DottedStrokeStyle within its containing object.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

name

String

read/write

The name of the DottedStrokeStyle.

parent

Application

Document

readonly

The parent of the DottedStrokeStyle (a Document or Application).

properties

Object

read/write

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

strokeCornerAdjustment

StrokeCornerAdjustment

StrokeCornerAdjustment.DASHES

StrokeCornerAdjustment.DASHES_AND_GAPS

StrokeCornerAdjustment.GAPS

StrokeCornerAdjustment.NONE

read/write

The corner adjustment applied to the DottedStrokeStyle.

strokeStyleType

String

readonly

The stroke style type.

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)

DottedStrokeStyle duplicate ()

Duplicates the DottedStrokeStyle.

DottedStrokeStyle getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove (replacingWith:Varies StrokeStyle String)

Deletes the stroke style.

Parameter

Type

Description

replacingWith

StrokeStyle

String

The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String. (Optional)

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 DottedStrokeStyle.

String toSpecifier ()

Retrieves the object specifier.

Object of

Event.parent

EventListener.parent

MutationEvent.parent

Return

DottedStrokeStyles.add()

DottedStrokeStyle.duplicate()

DottedStrokeStyle.getElements()

DottedStrokeStyles.anyItem()

DottedStrokeStyles.everyItem()

DottedStrokeStyles.nextItem()

DottedStrokeStyles.previousItem()

DottedStrokeStyles.itemByID()

DottedStrokeStyles.item()

DottedStrokeStyles.[]()

DottedStrokeStyles.itemByName()

DottedStrokeStyles.itemByRange()

DottedStrokeStyles.firstItem()

DottedStrokeStyles.lastItem()

DottedStrokeStyles.middleItem()