DashedStrokeStyles

A collection of dashed stroke styles.

Methods

DashedStrokeStyleadd ([withProperties:
Object])
Creates a new DashedStrokeStyle.

Parameter Type Description
withProperties Object Initial values for properties of the new DashedStrokeStyle (Optional)

DashedStrokeStyleanyItem ()
Returns any DashedStrokeStyle in the collection.

number count ()
Displays the number of elements in the DashedStrokeStyle.

Array of DashedStrokeStyleeveryItem ()
Returns every DashedStrokeStyle in the collection.

DashedStrokeStylefirstItem ()
Returns the first DashedStrokeStyle in the collection.

DashedStrokeStyleitem (index:
any)
Returns the DashedStrokeStyle with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

DashedStrokeStyleitemByID (id:
number)
Returns the DashedStrokeStyle with the specified ID.

Parameter Type Description
id number The ID.

DashedStrokeStyleitemByName (name:
string)
Returns the DashedStrokeStyle with the specified name.

Parameter Type Description
name string The name.

Array of DashedStrokeStyleitemByRange (from:
any, to:
any)
Returns the DashedStrokeStyles within the specified range.

Parameter Type Description
from DashedStrokeStyle
Long Integer
String
The DashedStrokeStyle, index, or name at the beginning of the range. Can accept: DashedStrokeStyle, Long Integer or String.
to DashedStrokeStyle
Long Integer
String
The DashedStrokeStyle, index, or name at the end of the range. Can accept: DashedStrokeStyle, Long Integer or String.

DashedStrokeStylelastItem ()
Returns the last DashedStrokeStyle in the collection.

DashedStrokeStylemiddleItem ()
Returns the middle DashedStrokeStyle in the collection.

DashedStrokeStylenextItem (obj:
DashedStrokeStyle)
Returns the DashedStrokeStyle whose index follows the specified DashedStrokeStyle in the collection.

Parameter Type Description
obj DashedStrokeStyle The DashedStrokeStyle whose index comes before the desired DashedStrokeStyle.

DashedStrokeStylepreviousItem (obj:
DashedStrokeStyle)
Returns the DashedStrokeStyle with the index previous to the specified index.

Parameter Type Description
obj DashedStrokeStyle The index of the DashedStrokeStyle that follows the desired DashedStrokeStyle.

string toSource ()
Generates a string which, if executed, will return the DashedStrokeStyle.

Element of:

Application.dashedStrokeStyles
Document.dashedStrokeStyles

Leave a Comment

Previous post:

Next post: