StrokeStyle
A stroke style.
Superclass of DashedStrokeStyle, DottedStrokeStyle, and StripedStrokeStyle
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
id | number | readonly | The unique ID of the StrokeStyle. |
index | number | readonly | The index of the StrokeStyle 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 StrokeStyle. |
parent | ApplicationDocument | 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
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) |
StrokeStyle duplicate ()
Duplicates the StrokeStyle.
Array of StrokeStyle 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 StrokeStyle.
Element of
Button.strokeType
Cell.bottomEdgeStrokeType
Cell.diagonalLineStrokeType
Cell.innerColumnStrokeType
Cell.innerRowStrokeType
Cell.leftEdgeStrokeType
Cell.rightEdgeStrokeType
Cell.topEdgeStrokeType
CellStyle.bottomEdgeStrokeType
CellStyle.diagonalLineStrokeType
CellStyle.leftEdgeStrokeType
CellStyle.rightEdgeStrokeType
CellStyle.topEdgeStrokeType
ChangeGrepPreference.strikeThroughType
ChangeGrepPreference.underlineType
ChangeObjectPreference.strokeType
ChangeTextPreference.strikeThroughType
ChangeTextPreference.underlineType
ChangeTransliteratePreference.strikeThroughType
ChangeTransliteratePreference.underlineType
Character.ruleAboveType
Character.ruleBelowType
Character.strikeThroughType
Character.underlineType
CharacterStyle.strikeThroughType
CharacterStyle.underlineType
CheckBox.strokeType
Column.bottomEdgeStrokeType
Column.diagonalLineStrokeType
Column.innerColumnStrokeType
Column.innerRowStrokeType
Column.leftEdgeStrokeType
Column.rightEdgeStrokeType
Column.topEdgeStrokeType
ComboBox.strokeType
EPS.strokeType
EPSText.strokeType
FindGrepPreference.strikeThroughType
FindGrepPreference.underlineType
FindObjectPreference.strokeType
FindTextPreference.strikeThroughType
FindTextPreference.underlineType
FindTransliteratePreference.strikeThroughType
FindTransliteratePreference.underlineType
FootnoteOption.continuingRuleType
FootnoteOption.ruleType
FormField.strokeType
Graphic.strokeType
GraphicLine.strokeType
Group.strokeType
HtmlItem.strokeType
Image.strokeType
ImportedPage.strokeType
InsertionPoint.ruleAboveType
InsertionPoint.ruleBelowType
InsertionPoint.strikeThroughType
InsertionPoint.underlineType
Line.ruleAboveType
Line.ruleBelowType
Line.strikeThroughType
Line.underlineType
ListBox.strokeType
MediaItem.strokeType
Movie.strokeType
MultiStateObject.strokeType
ObjectStyle.strokeType
Oval.strokeType
PDF.strokeType
PICT.strokeType
PageItem.strokeType
PageItemDefault.strokeType
Paragraph.ruleAboveType
Paragraph.ruleBelowType
Paragraph.strikeThroughType
Paragraph.underlineType
ParagraphStyle.ruleAboveType
ParagraphStyle.ruleBelowType
ParagraphStyle.strikeThroughType
ParagraphStyle.underlineType
Polygon.strokeType
RadioButton.strokeType
Rectangle.strokeType
Row.bottomEdgeStrokeType
Row.diagonalLineStrokeType
Row.innerColumnStrokeType
Row.innerRowStrokeType
Row.leftEdgeStrokeType
Row.rightEdgeStrokeType
Row.topEdgeStrokeType
SignatureField.strokeType
Sound.strokeType
SplineItem.strokeType
Story.ruleAboveType
Story.ruleBelowType
Story.strikeThroughType
Story.underlineType
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
Text.ruleAboveType
Text.ruleBelowType
Text.strikeThroughType
Text.underlineType
TextBox.strokeType
TextColumn.ruleAboveType
TextColumn.ruleBelowType
TextColumn.strikeThroughType
TextColumn.underlineType
TextDefault.ruleAboveType
TextDefault.ruleBelowType
TextDefault.strikeThroughType
TextDefault.underlineType
TextFrame.strokeType
TextStyleRange.ruleAboveType
TextStyleRange.ruleBelowType
TextStyleRange.strikeThroughType
TextStyleRange.underlineType
WMF.strokeType
Word.ruleAboveType
Word.ruleBelowType
Word.strikeThroughType
Word.underlineType
XmlStory.ruleAboveType
XmlStory.ruleBelowType
XmlStory.strikeThroughType
XmlStory.underlineType
Used in:
void Application.exportStrokeStyles (to: File, strokeStyleList: Array of StrokeStyle[, versionComments: string][, forceSave: bool=false])
void Document.exportStrokeStyles (to: File, strokeStyleList: Array of StrokeStyle[, versionComments: string][, forceSave: bool=false])
StrokeStyle StrokeStyles.nextItem (obj: StrokeStyle)
StrokeStyle StrokeStyles.previousItem (obj: StrokeStyle)
Return
StrokeStyle StrokeStyle.duplicate ()
Array of StrokeStyle StrokeStyle.getElements ()
StrokeStyle StrokeStyles.[] (index: number)
StrokeStyle StrokeStyles.anyItem ()
Array of StrokeStyle StrokeStyles.everyItem ()
StrokeStyle StrokeStyles.firstItem ()
StrokeStyle StrokeStyles.item (index: varies)
StrokeStyle StrokeStyles.itemByID (id: number)
StrokeStyle StrokeStyles.itemByName (name: string)
Array of StrokeStyle StrokeStyles.itemByRange (from: varies, to: varies)
StrokeStyle StrokeStyles.lastItem ()
StrokeStyle StrokeStyles.middleItem ()
StrokeStyle StrokeStyles.nextItem (obj: StrokeStyle)
StrokeStyle StrokeStyles.previousItem (obj: StrokeStyle)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |