InDesign Server2025
API 20.5.0.49
Object

StripedStrokeStyle

A striped stroke style.

StrokeStyle StripedStrokeStyle
Hierarchy

Application | Document

StripedStrokeStyle

Properties

NameType AccessDescription
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The unique ID of the StripedStrokeStyle.
Number readonly The index of the StripedStrokeStyle within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
String read/write The name of the StripedStrokeStyle.
Application | Document readonly The parent of the StripedStrokeStyle (a Document or Application).
Object read/write A property that allows setting of several properties at the same time.
Number[] 0–100 read/write The 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).
String readonly The stroke style type.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
StripedStrokeStyle[]

Resolves the object specifier, creating an array of object references.

void

Deletes the stroke style.

replacingWith? StrokeStyle | String The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String.
Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

Generates a string which, if executed, will return the StripedStrokeStyle.

String

Retrieves the object specifier.

Object of 3

Properties elsewhere that hold a StripedStrokeStyle.

Parameter of 3

Method parameters that accept a StripedStrokeStyle.

Return 15

Methods that return a StripedStrokeStyle.