DashedStrokeStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
dashArray | Array of Measurement Unit (Number or String) | r/w | The pattern of dashes and gaps, in the format [dash length1, gap length1, dash length2, gap length2]. Define up to ten values. |
endCap | EndCap: EndCap.BUTT_END_CAP EndCap.ROUND_END_CAP EndCap.PROJECTING_END_CAP |
r/w | The end shape of an open path. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
id | number | readonly | The unique ID of the DashedStrokeStyle. |
index | number | readonly | The index of the DashedStrokeStyle within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
name | string | r/w | The name of the DashedStrokeStyle. |
parent | Application Document |
readonly | The parent of the DashedStrokeStyle (a Document or Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
strokeCornerAdjustment | StrokeCornerAdjustment: StrokeCornerAdjustment.NONE StrokeCornerAdjustment.DASHES StrokeCornerAdjustment.GAPS StrokeCornerAdjustment.DASHES_AND_GAPS |
r/w | The corner adjustment applied to the DashedStrokeStyle. |
strokeStyleType | string | readonly | The stroke style type. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
DashedStrokeStyle duplicate ()
Duplicates the DashedStrokeStyle.
Array of DashedStrokeStyle getElements ()
Resolves the object specifier, creating an array of object references.
void remove ([replacingWith:
varies])
Deletes the stroke style.
Parameter | Type | Description |
---|---|---|
replacingWith | String StrokeStyle | The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String. (Optional) |
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the DashedStrokeStyle.
Used in:
DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)
DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)
Return
DashedStrokeStyle DashedStrokeStyle.duplicate ()
Array of DashedStrokeStyle DashedStrokeStyle.getElements ()
DashedStrokeStyle DashedStrokeStyles.[] (index: number)
DashedStrokeStyle DashedStrokeStyles.add ([withProperties: Object])
DashedStrokeStyle DashedStrokeStyles.anyItem ()
Array of DashedStrokeStyle DashedStrokeStyles.everyItem ()
DashedStrokeStyle DashedStrokeStyles.firstItem ()
DashedStrokeStyle DashedStrokeStyles.item (index: varies)
DashedStrokeStyle DashedStrokeStyles.itemByID (id: number)
DashedStrokeStyle DashedStrokeStyles.itemByName (name: string)
Array of DashedStrokeStyle DashedStrokeStyles.itemByRange (from: varies, to: varies)
DashedStrokeStyle DashedStrokeStyles.lastItem ()
DashedStrokeStyle DashedStrokeStyles.middleItem ()
DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)
DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |