DottedStrokeStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
dotArray | Array of Measurement Unit (Number or String) | r/w | The length of gaps between dots. Define up to five values. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the DottedStrokeStyle. |
index | number | readonly | The index of the DottedStrokeStyle 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 DottedStrokeStyle. |
parent | ApplicationDocument | readonly | The parent of the DottedStrokeStyle (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 DottedStrokeStyle. |
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) |
DottedStrokeStyle duplicate ()
Duplicates the DottedStrokeStyle.
Array of DottedStrokeStyle 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 DottedStrokeStyle.
Used in:
DottedStrokeStyle DottedStrokeStyles.nextItem (obj: DottedStrokeStyle)
DottedStrokeStyle DottedStrokeStyles.previousItem (obj: DottedStrokeStyle)
Return
DottedStrokeStyle DottedStrokeStyle.duplicate ()
Array of DottedStrokeStyle DottedStrokeStyle.getElements ()
DottedStrokeStyle DottedStrokeStyles.[] (index: number)
DottedStrokeStyle DottedStrokeStyles.add ([withProperties: Object])
DottedStrokeStyle DottedStrokeStyles.anyItem ()
Array of DottedStrokeStyle DottedStrokeStyles.everyItem ()
DottedStrokeStyle DottedStrokeStyles.firstItem ()
DottedStrokeStyle DottedStrokeStyles.item (index: varies)
DottedStrokeStyle DottedStrokeStyles.itemByID (id: number)
DottedStrokeStyle DottedStrokeStyles.itemByName (name: string)
Array of DottedStrokeStyle DottedStrokeStyles.itemByRange (from: varies, to: varies)
DottedStrokeStyle DottedStrokeStyles.lastItem ()
DottedStrokeStyle DottedStrokeStyles.middleItem ()
DottedStrokeStyle DottedStrokeStyles.nextItem (obj: DottedStrokeStyle)
DottedStrokeStyle DottedStrokeStyles.previousItem (obj: DottedStrokeStyle)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |