Adobe InDesign CS2 (4.0) Object Model JS: DottedStrokeStyle

InDesign CS2

Class

DottedStrokeStyle

 A dotted stroke style. Base Class: StrokeStyle

QuickLinks

duplicate, getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
StrokeStyle
DottedStrokeStyle

Properties

PropertyTypeAccessDescription
dotArray Array of Measurement Unit (Number or String) r/wThe length of gaps between dots. Define up to five values.
idnumber readonlyThe unique ID of the DottedStrokeStyle.
indexnumber readonlyThe index of the DottedStrokeStyle within its containing object.
namestring r/wThe name of the DottedStrokeStyle.
parentApplicationDocument readonlyThe parent of the DottedStrokeStyle (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 DottedStrokeStyle.
strokeStyleTypestring readonlyThe stroke style type.

Methods

Instances

DottedStrokeStyle duplicate ()
Duplicates the DottedStrokeStyle.

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

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

ParameterTypeDescription
replacingWithStrokeStyleThe stroke style to apply in place of this one (Optional)

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of DottedStrokeStyle DottedStrokeStyles.itemByRange (from: any, to: any)

DottedStrokeStyle DottedStrokeStyles.nextItem (obj: DottedStrokeStyle)

DottedStrokeStyle DottedStrokeStyles.previousItem (obj: DottedStrokeStyle)

Return

DottedStrokeStyle DottedStrokeStyle.duplicate ()

DottedStrokeStyle DottedStrokeStyles.add ([withProperties: Object])

DottedStrokeStyle DottedStrokeStyles.anyItem ()

Array of DottedStrokeStyle DottedStrokeStyles.everyItem ()

DottedStrokeStyle DottedStrokeStyles.firstItem ()

DottedStrokeStyle DottedStrokeStyles.item (index: any)

DottedStrokeStyle DottedStrokeStyles.itemByID (id: number)

DottedStrokeStyle DottedStrokeStyles.itemByName (name: string)

Array of DottedStrokeStyle DottedStrokeStyles.itemByRange (from: any, to: any)

DottedStrokeStyle DottedStrokeStyles.lastItem ()

DottedStrokeStyle DottedStrokeStyles.middleItem ()

DottedStrokeStyle DottedStrokeStyles.nextItem (obj: DottedStrokeStyle)

DottedStrokeStyle DottedStrokeStyles.previousItem (obj: DottedStrokeStyle)

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