Adobe InDesign CS3 (5.0) Object Model JS: DashedStrokeStyle

InDesign CS3

Class

DashedStrokeStyle

 A dashed stroke style. Base Class: StrokeStyle

QuickLinks

duplicate, getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
StrokeStyle
DashedStrokeStyle

Properties

PropertyTypeAccessDescription
dashArray Array of Measurement Unit (Number or String) r/wThe pattern of dashes and gaps, in the format [dash length1, gap length1, dash length2, gap length2]. Define up to ten values.
endCapEndCap:
EndCap.BUTT_END_CAP
EndCap.ROUND_END_CAP
EndCap.PROJECTING_END_CAP
r/wThe end shape of an open path.
idnumber readonlyThe unique ID of the DashedStrokeStyle.
indexnumber readonlyThe index of the DashedStrokeStyle within its containing object.
namestring r/wThe name of the DashedStrokeStyle.
parentApplication
Document
readonlyThe parent of the DashedStrokeStyle (a Document or Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
strokeCornerAdjustmentStrokeCornerAdjustment:
StrokeCornerAdjustment.NONE
StrokeCornerAdjustment.DASHES
StrokeCornerAdjustment.GAPS
StrokeCornerAdjustment.DASHES_AND_GAPS
r/wThe corner adjustment applied to the DashedStrokeStyle.
strokeStyleTypestring readonlyThe stroke style type.

Methods

Instances

DashedStrokeStyle duplicate ()
Duplicates the DashedStrokeStyle.

Array of DashedStrokeStyle getElements ()
Resolves the object specifier, creating an array of object references.

void remove ([replacingWith: any])
Deletes the stroke style.

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

string toSource ()
Generates a string which, if executed, will return the DashedStrokeStyle.

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of DashedStrokeStyle DashedStrokeStyles.itemByRange (from: any, to: any)

DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)

DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)

Return

DashedStrokeStyle DashedStrokeStyle.duplicate ()

Array of DashedStrokeStyle DashedStrokeStyle.getElements ()

DashedStrokeStyle DashedStrokeStyles.add ([withProperties: Object])

DashedStrokeStyle DashedStrokeStyles.anyItem ()

Array of DashedStrokeStyle DashedStrokeStyles.everyItem ()

DashedStrokeStyle DashedStrokeStyles.firstItem ()

DashedStrokeStyle DashedStrokeStyles.item (index: any)

DashedStrokeStyle DashedStrokeStyles.itemByID (id: number)

DashedStrokeStyle DashedStrokeStyles.itemByName (name: string)

Array of DashedStrokeStyle DashedStrokeStyles.itemByRange (from: any, to: any)

DashedStrokeStyle DashedStrokeStyles.lastItem ()

DashedStrokeStyle DashedStrokeStyles.middleItem ()

DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)

DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)

Jongware, 27-Jun-2010 v3.0.3dContents :: Index