StripedStrokeStyle

A striped stroke style.

Methods:

duplicate, getElements, remove, toSource, toSpecifier

Objects:

Number, Object, String

Hierarchy:

Superclass: StrokeStyle

Class: StripedStrokeStyle

Property Listing

Property

Type

Access

Description

id

Number

readonly

The unique ID of the StripedStrokeStyle.

index

Number

readonly

The index of the StripedStrokeStyle within its containing object.

name

String

read/write

The name of the StripedStrokeStyle.

parent

Application

Document

readonly

The parent of the StripedStrokeStyle (a Document or Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

stripeArray

Array of Number (range 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).

strokeStyleType

String

readonly

The stroke style type.

Method Listing

StripedStrokeStyle duplicate ()

Duplicates the StripedStrokeStyle.

StripedStrokeStyle getElements ()

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

undefined remove (replacingWith:Varies StrokeStyle String)

Deletes the stroke style.

Parameter

Type

Description

replacingWith

StrokeStyle

String

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.

Return

StripedStrokeStyles.add()

StripedStrokeStyle.duplicate()

StripedStrokeStyle.getElements()

StripedStrokeStyles.anyItem()

StripedStrokeStyles.everyItem()

StripedStrokeStyles.nextItem()

StripedStrokeStyles.previousItem()

StripedStrokeStyles.itemByID()

StripedStrokeStyles.item()

StripedStrokeStyles.itemByName()

StripedStrokeStyles.itemByRange()

StripedStrokeStyles.firstItem()

StripedStrokeStyles.lastItem()

StripedStrokeStyles.middleItem()