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. |
id | number | readonly | The unique ID of the DashedStrokeStyle. |
index | number | readonly | The index of the DashedStrokeStyle within its containing object. |
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
DashedStrokeStyle duplicate ()
Duplicates the DashedStrokeStyle.
Array
of Object getElements ()
Resolves the object specifier, creating an array of object references.
void remove ([replacingWith:
StrokeStyle])
Deletes the stroke style.
Parameter | Type | Description |
---|---|---|
replacingWith | StrokeStyle | The stroke style to apply in place of this one (Optional) |
string toSource ()
Generates a string which, if executed, will return the DashedStrokeStyle.
Used in:
array of DashedStrokeStyle DashedStrokeStyles.itemByRange (from: any, to: any)
DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)
DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)
Return
DashedStrokeStyle DashedStrokeStyle.duplicate ()
DashedStrokeStyle DashedStrokeStyles.add ([withProperties: Object])
DashedStrokeStyle DashedStrokeStyles.anyItem ()
Array of DashedStrokeStyle DashedStrokeStyles.everyItem ()
DashedStrokeStyle DashedStrokeStyles.firstItem ()
DashedStrokeStyle DashedStrokeStyles.item (index: any)
DashedStrokeStyle DashedStrokeStyles.itemByID (id: number)
DashedStrokeStyle DashedStrokeStyles.itemByName (name: string)
Array of DashedStrokeStyle DashedStrokeStyles.itemByRange (from: any, to: any)
DashedStrokeStyle DashedStrokeStyles.lastItem ()
DashedStrokeStyle DashedStrokeStyles.middleItem ()
DashedStrokeStyle DashedStrokeStyles.nextItem (obj: DashedStrokeStyle)
DashedStrokeStyle DashedStrokeStyles.previousItem (obj: DashedStrokeStyle)
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |