Adobe InDesign CS2 (4.0) Object Model JS: StripedStrokeStyle

InDesign CS2

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.
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.
stripeArray Array 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 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 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 ()

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