A stroke style.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| id | number | readonly | The unique ID of the StrokeStyle. |
| index | number | readonly | The index of the StrokeStyle within its containing object. |
| name | string | r/w | The name of the StrokeStyle. |
| parent | any | readonly | The parent of the StrokeStyle (a Document or Application). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| strokeStyleType | string | readonly | The stroke style type. |
Methods
StrokeStyleduplicate ()
Duplicates the StrokeStyle.
Array of StrokeStylegetElements ()
Resolves the object specifier, creating an array of object references.
void remove ([replacingWith:
any])
Deletes the stroke style.
| Parameter | Type | Description |
|---|---|---|
| replacingWith | StrokeStyle String |
The stroke style to apply in place of the deleted style. . Can accept: StrokeStyle or String. (Optional) |
string toSource ()
Generates a string which, if executed, will return the StrokeStyle.
string toSpecifier ()
Retrieves the object specifier.
Element of:
Button.strokeType
Cell.bottomEdgeStrokeType
Cell.diagonalLineStrokeType
Cell.innerColumnStrokeType
Cell.innerRowStrokeType
Cell.leftEdgeStrokeType
Cell.rightEdgeStrokeType
Cell.topEdgeStrokeType
Column.bottomEdgeStrokeType
Column.diagonalLineStrokeType
Column.innerColumnStrokeType
Column.innerRowStrokeType
Column.leftEdgeStrokeType
Column.rightEdgeStrokeType
Column.topEdgeStrokeType
FormField.strokeType
GraphicLine.strokeType
Group.strokeType
ObjectStyle.strokeType
Oval.strokeType
PageItem.strokeType
PageItemDefault.strokeType
Polygon.strokeType
Rectangle.strokeType
Row.bottomEdgeStrokeType
Row.diagonalLineStrokeType
Row.innerColumnStrokeType
Row.innerRowStrokeType
Row.leftEdgeStrokeType
Row.rightEdgeStrokeType
Row.topEdgeStrokeType
Table.bottomBorderStrokeType
Table.endColumnLineStyle
Table.endRowStrokeType
Table.leftBorderStrokeType
Table.rightBorderStrokeType
Table.startColumnStrokeType
Table.startRowStrokeType
Table.topBorderStrokeType
TableStyle.bottomBorderStrokeType
TableStyle.endColumnLineStyle
TableStyle.endRowStrokeType
TableStyle.leftBorderStrokeType
TableStyle.rightBorderStrokeType
TableStyle.startColumnStrokeType
TableStyle.startRowStrokeType
TableStyle.topBorderStrokeType
TextFrame.strokeType
Used in:
Application.exportStrokeStyles (
to:
File, strokeStyleList:
Array of StrokeStyle [, versionComments:
string][, forceSave:
bool=false ])
Document.exportStrokeStyles (
to:
File, strokeStyleList:
Array of StrokeStyle [, versionComments:
string][, forceSave:
bool=false ])
StrokeStyles.previousItem (
obj:
StrokeStyle )
StrokeStyles.nextItem (
obj:
StrokeStyle )
Returned by:
StrokeStyle StrokeStyle .duplicate (
)
Array of StrokeStyle StrokeStyle .getElements (
)
StrokeStyle StrokeStyles.anyItem (
)
Array of StrokeStyle StrokeStyles.everyItem (
)
StrokeStyle StrokeStyles.firstItem (
)
StrokeStyle StrokeStyles.item (
index:
any
)
StrokeStyle StrokeStyles.itemByID (
id:
number
)
StrokeStyle StrokeStyles.itemByName (
name:
string
)
Array of StrokeStyle StrokeStyles.itemByRange (
from:
any, to:
any
)
StrokeStyle StrokeStyles.lastItem (
)
StrokeStyle StrokeStyles.middleItem (
)
StrokeStyle StrokeStyles.nextItem (
obj:
StrokeStyle
)
StrokeStyle StrokeStyles.previousItem (
obj:
StrokeStyle
)