StripedStrokeStyle
A striped stroke style.
Go to Property Listing | Method Listing
Methods:
addEventListener, duplicate, getElements, remove, removeEventListener, toSource, toSpecifier
Objects:
Hierarchy:
Superclass: StrokeStyle
Class: StripedStrokeStyle
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The unique ID of the StripedStrokeStyle. |
||
readonly |
The index of the StripedStrokeStyle within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
The name of the StripedStrokeStyle. |
||
readonly |
The parent of the StripedStrokeStyle (a Document or Application). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
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). |
||
readonly |
The stroke style type. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
StripedStrokeStyle duplicate ()
Duplicates the StripedStrokeStyle.
StripedStrokeStyle getElements ()
Resolves the object specifier, creating an array of object references.
undefined remove (replacingWith:Varies StrokeStyle String)
Deletes the stroke style.
Parameter |
Type |
Description |
---|---|---|
replacingWith |
The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String. (Optional) |
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
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 StripedStrokeStyle.
String toSpecifier ()
Retrieves the object specifier.
Object of
Event.parent
EventListener.parent
MutationEvent.parent
Return
StripedStrokeStyle.duplicate()
StripedStrokeStyle.getElements()
StripedStrokeStyles.everyItem()
StripedStrokeStyles.nextItem()
StripedStrokeStyles.previousItem()
StripedStrokeStyles.itemByID()
StripedStrokeStyles.itemByName()
StripedStrokeStyles.itemByRange()
StripedStrokeStyles.firstItem()