StripedStrokeStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
id | number | readonly | The unique ID of the StripedStrokeStyle. |
index | number | readonly | The index of the StripedStrokeStyle 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 StripedStrokeStyle. |
parent | ApplicationDocument | 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
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) |
StripedStrokeStyle duplicate ()
Duplicates the StripedStrokeStyle.
Array of StripedStrokeStyle 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 StripedStrokeStyle.
Used in:
StripedStrokeStyle StripedStrokeStyles.nextItem (obj: StripedStrokeStyle)
StripedStrokeStyle StripedStrokeStyles.previousItem (obj: StripedStrokeStyle)
Return
StripedStrokeStyle StripedStrokeStyle.duplicate ()
Array of StripedStrokeStyle StripedStrokeStyle.getElements ()
StripedStrokeStyle StripedStrokeStyles.[] (index: number)
StripedStrokeStyle StripedStrokeStyles.add ([withProperties: Object])
StripedStrokeStyle StripedStrokeStyles.anyItem ()
Array of StripedStrokeStyle StripedStrokeStyles.everyItem ()
StripedStrokeStyle StripedStrokeStyles.firstItem ()
StripedStrokeStyle StripedStrokeStyles.item (index: varies)
StripedStrokeStyle StripedStrokeStyles.itemByID (id: number)
StripedStrokeStyle StripedStrokeStyles.itemByName (name: string)
Array of StripedStrokeStyle StripedStrokeStyles.itemByRange (from: varies, to: varies)
StripedStrokeStyle StripedStrokeStyles.lastItem ()
StripedStrokeStyle StripedStrokeStyles.middleItem ()
StripedStrokeStyle StripedStrokeStyles.nextItem (obj: StripedStrokeStyle)
StripedStrokeStyle StripedStrokeStyles.previousItem (obj: StripedStrokeStyle)
Jongware, 28-Apr-2012 v3.0.3h | Contents :: Index |