StrokeStyle
A stroke style.
Go to Property Listing | Method Listing
Methods:
addEventListener, duplicate, getElements, remove, removeEventListener, toSource, toSpecifier
Objects:
Hierarchy:
Class: StrokeStyle
Subclasses: DashedStrokeStyle | DottedStrokeStyle | StripedStrokeStyle
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The unique ID of the StrokeStyle. |
||
readonly |
The index of the StrokeStyle within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
The name of the StrokeStyle. |
||
readonly |
The parent of the StrokeStyle (a Document or Application). |
||
read/write |
A property that allows setting of several properties at the same time. |
||
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) |
StrokeStyle duplicate ()
Duplicates the StrokeStyle.
StrokeStyle 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 StrokeStyle.
String toSpecifier ()
Retrieves the object specifier.
Object of
TextFramePreference.columnRuleStrokeType
FormField.strokeType
Button.strokeType
MultiStateObject.strokeType
CheckBox.strokeType
ComboBox.strokeType
ListBox.strokeType
RadioButton.strokeType
TextBox.strokeType
SignatureField.strokeType
Movie.strokeType
Sound.strokeType
PageItem.strokeType
Oval.strokeType
Rectangle.strokeType
GraphicLine.strokeType
Polygon.strokeType
Group.strokeType
Image.strokeType
EPS.strokeType
PDF.strokeType
WMF.strokeType
PICT.strokeType
Graphic.strokeType
SplineItem.strokeType
EPSText.strokeType
ImportedPage.strokeType
SVG.strokeType
MediaItem.strokeType
HtmlItem.strokeType
ObjectStyle.strokeType
PageItemDefault.strokeType
TextFrame.strokeType
EndnoteTextFrame.strokeType
FindObjectPreference.strokeType
ChangeObjectPreference.strokeType
Event.parent
EventListener.parent
MutationEvent.parent
Table.startColumnStrokeType
TableStyle.startColumnStrokeType
Table.endColumnLineStyle
TableStyle.endColumnLineStyle
Table.startRowStrokeType
TableStyle.startRowStrokeType
Table.endRowStrokeType
TableStyle.endRowStrokeType
Table.bottomBorderStrokeType
TableStyle.bottomBorderStrokeType
Cell.bottomEdgeStrokeType
Column.bottomEdgeStrokeType
Row.bottomEdgeStrokeType
CellStyle.bottomEdgeStrokeType
Cell.diagonalLineStrokeType
Column.diagonalLineStrokeType
Row.diagonalLineStrokeType
CellStyle.diagonalLineStrokeType
Cell.innerColumnStrokeType
Column.innerColumnStrokeType
Row.innerColumnStrokeType
Cell.innerRowStrokeType
Column.innerRowStrokeType
Row.innerRowStrokeType
Table.leftBorderStrokeType
TableStyle.leftBorderStrokeType
Cell.leftEdgeStrokeType
Column.leftEdgeStrokeType
Row.leftEdgeStrokeType
CellStyle.leftEdgeStrokeType
Table.rightBorderStrokeType
TableStyle.rightBorderStrokeType
Cell.rightEdgeStrokeType
Column.rightEdgeStrokeType
Row.rightEdgeStrokeType
CellStyle.rightEdgeStrokeType
FootnoteOption.continuingRuleType
FootnoteOption.ruleType
TextDefault.ruleAboveType
Text.ruleAboveType
Character.ruleAboveType
Word.ruleAboveType
Line.ruleAboveType
TextColumn.ruleAboveType
Paragraph.ruleAboveType
TextStyleRange.ruleAboveType
InsertionPoint.ruleAboveType
Story.ruleAboveType
ParagraphStyle.ruleAboveType
XmlStory.ruleAboveType
TextDefault.ruleBelowType
Text.ruleBelowType
Character.ruleBelowType
Word.ruleBelowType
Line.ruleBelowType
TextColumn.ruleBelowType
Paragraph.ruleBelowType
TextStyleRange.ruleBelowType
InsertionPoint.ruleBelowType
Story.ruleBelowType
ParagraphStyle.ruleBelowType
XmlStory.ruleBelowType
TextDefault.strikeThroughType
Text.strikeThroughType
Character.strikeThroughType
Word.strikeThroughType
Line.strikeThroughType
TextColumn.strikeThroughType
Paragraph.strikeThroughType
TextStyleRange.strikeThroughType
InsertionPoint.strikeThroughType
Story.strikeThroughType
ParagraphStyle.strikeThroughType
XmlStory.strikeThroughType
FindTextPreference.strikeThroughType
FindGrepPreference.strikeThroughType
FindTransliteratePreference.strikeThroughType
ChangeTextPreference.strikeThroughType
ChangeGrepPreference.strikeThroughType
ChangeTransliteratePreference.strikeThroughType
CharacterStyle.strikeThroughType
Table.topBorderStrokeType
TableStyle.topBorderStrokeType
Cell.topEdgeStrokeType
Column.topEdgeStrokeType
Row.topEdgeStrokeType
CellStyle.topEdgeStrokeType
TextDefault.underlineType
Text.underlineType
Character.underlineType
Word.underlineType
Line.underlineType
TextColumn.underlineType
Paragraph.underlineType
TextStyleRange.underlineType
InsertionPoint.underlineType
Story.underlineType
ParagraphStyle.underlineType
XmlStory.underlineType
FindTextPreference.underlineType
FindGrepPreference.underlineType
FindTransliteratePreference.underlineType
ChangeTextPreference.underlineType
ChangeGrepPreference.underlineType
ChangeTransliteratePreference.underlineType
CharacterStyle.underlineType
TextDefault.paragraphBorderType
Text.paragraphBorderType
Character.paragraphBorderType
Word.paragraphBorderType
Line.paragraphBorderType
TextColumn.paragraphBorderType
Paragraph.paragraphBorderType
TextStyleRange.paragraphBorderType
InsertionPoint.paragraphBorderType
Story.paragraphBorderType
ParagraphStyle.paragraphBorderType
XmlStory.paragraphBorderType