StripedStrokeStyle

A striped stroke style.

Properties

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 r/w The name of the StripedStrokeStyle.
parent any readonly The parent of the StripedStrokeStyle (a Document or Application).
properties Object r/w A property that allows setting of several properties at the same time.
stripeArray Array of number r/w 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.

Methods

StripedStrokeStyleduplicate ()
Duplicates the StripedStrokeStyle.

Array of StripedStrokeStylegetElements ()
Resolves the object specifier, creating an array of object references.

void remove ([replacingWith:
any])
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.

Used in:

StripedStrokeStyles.previousItem (

obj:
StripedStrokeStyle )

StripedStrokeStyles.nextItem (

obj:
StripedStrokeStyle )

Returned by:

StripedStrokeStyle StripedStrokeStyle .duplicate (

)

Array of StripedStrokeStyle StripedStrokeStyle .getElements (

)

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
)

Leave a Comment

Previous post:

Next post: