Adobe InDesign CS4 (6.0) Object Model JS: StripedStrokeStyle

InDesign CS4

Class

StripedStrokeStyle

 A striped stroke style. Base Class: StrokeStyle

QuickLinks

duplicate, getElements, remove, toSource, toSpecifier

Hierarchy

Application | Document
StrokeStyle
StripedStrokeStyle

Properties

PropertyTypeAccessDescription
idnumber readonlyThe unique ID of the StripedStrokeStyle.
indexnumber readonlyThe index of the StripedStrokeStyle within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
namestring r/wThe name of the StripedStrokeStyle.
parentApplicationDocument readonlyThe parent of the StripedStrokeStyle (a Document or Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
stripeArrayArray of number r/wThe width and position of stripes in a striped stroke pattern. Each stripe is specified by a start-end pair in the format [start1, end1, start2, end2]; each value indicates a percentage of the stroke weight. Each value must be greater than the previous value. (Range: 0 to 100).
strokeStyleTypestring readonlyThe stroke style type.

Methods

Instances

StripedStrokeStyle duplicate ()
Duplicates the StripedStrokeStyle.

Array of StripedStrokeStyle 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 StripedStrokeStyle.

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of StripedStrokeStyle StripedStrokeStyles.itemByRange (from: any, to: any)

StripedStrokeStyle StripedStrokeStyles.nextItem (obj: StripedStrokeStyle)

StripedStrokeStyle StripedStrokeStyles.previousItem (obj: StripedStrokeStyle)

Return

StripedStrokeStyle StripedStrokeStyle.duplicate ()

Array of StripedStrokeStyle StripedStrokeStyle.getElements ()

StripedStrokeStyle StripedStrokeStyles.[] (index: number)

StripedStrokeStyle StripedStrokeStyles.add ([withProperties: Object])

StripedStrokeStyle StripedStrokeStyles.anyItem ()

Array of StripedStrokeStyle StripedStrokeStyles.everyItem ()

StripedStrokeStyle StripedStrokeStyles.firstItem ()

StripedStrokeStyle StripedStrokeStyles.item (index: any)

StripedStrokeStyle StripedStrokeStyles.itemByID (id: number)

StripedStrokeStyle StripedStrokeStyles.itemByName (name: string)

Array of StripedStrokeStyle StripedStrokeStyles.itemByRange (from: any, to: any)

StripedStrokeStyle StripedStrokeStyles.lastItem ()

StripedStrokeStyle StripedStrokeStyles.middleItem ()

StripedStrokeStyle StripedStrokeStyles.nextItem (obj: StripedStrokeStyle)

StripedStrokeStyle StripedStrokeStyles.previousItem (obj: StripedStrokeStyle)

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