Adobe InDesign CS4 (6.0) Object Model JS: DottedStrokeStyle

InDesign CS4

Class

DottedStrokeStyle

 A dotted stroke style. Base Class: StrokeStyle

QuickLinks

duplicate, getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
StrokeStyle
DottedStrokeStyle

Properties

PropertyTypeAccessDescription
dotArrayArray 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.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
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 DottedStrokeStyle 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 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 ()

Array of DottedStrokeStyle DottedStrokeStyle.getElements ()

DottedStrokeStyle DottedStrokeStyles.[] (index: number)

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, 20-Jun-2010 v3.0.3dContents :: Index