A dashed stroke style.
Go to Property Listing | Method Listing
duplicate, remove, toSource, getElements, toSpecifier, addEventListener, removeEventListener
Application, Boolean, Document, EndCap, EventListeners, Events, Number, Object, String, StrokeCornerAdjustment,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
dashArray |
read/write |
The pattern of dashes and gaps, in the format [dash length1, gap length1, dash length2, gap length2]. Define up to ten values. |
|
|
endCap |
EndCap.BUTT_END_CAP EndCap.ROUND_END_CAP EndCap.PROJECTING_END_CAP |
read/write |
The end shape of an open path. |
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
id |
readonly |
The unique ID of the DashedStrokeStyle. |
|
|
index |
readonly |
The index of the DashedStrokeStyle within its containing object. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
name |
read/write |
The name of the DashedStrokeStyle. |
|
|
parent |
readonly |
The parent of the DashedStrokeStyle (a Document or Application). |
|
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
strokeCornerAdjustment |
StrokeCornerAdjustment.NONE StrokeCornerAdjustment.DASHES StrokeCornerAdjustment.GAPS StrokeCornerAdjustment.DASHES_AND_GAPS |
read/write |
The corner adjustment applied to the DashedStrokeStyle. |
|
strokeStyleType |
readonly |
The stroke style type. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
DashedStrokeStyle duplicate ()
Duplicates the DashedStrokeStyle.
DashedStrokeStyle getElements ()
Resolves the object specifier, creating an array of object references.
undefined remove (replacingWith:Varies)
Deletes the stroke style.
|
Parameter |
Type |
Description |
|---|---|---|
|
replacingWith |
Varies |
The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String. (Optional) |
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the DashedStrokeStyle.
String toSpecifier ()
Retrieves the object specifier.