Adobe InDesign CS (3.0) Object Model JS: StrokeStyle

InDesign CS

Class

StrokeStyle

 

A stroke style.

Superclass of DashedStrokeStyle, DottedStrokeStyle, and StripedStrokeStyle

QuickLinks

duplicate, remove

Hierarchy

Application | Document
StrokeStyle
DashedStrokeStyle | DottedStrokeStyle | StripedStrokeStyle

Properties

PropertyTypeAccessDescription
idnumber readonlyThe unique ID of the StrokeStyle.
indexnumber readonlyThe index of the StrokeStyle within its containing object.
namestring r/wThe name of the StrokeStyle.
parentApplicationDocument readonlyThe parent of the StrokeStyle (a Document or Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
strokeStyleTypestring readonlyThe stroke style type.

Methods

Instances

StrokeStyle duplicate ()
Duplicates the StrokeStyle.

void remove (replacingWith: StrokeStyle)
Deletes a stroke style.

ParameterTypeDescription
replacingWithStrokeStyleThe stroke style to apply in place of this one

Element of

Button.strokeType

Cell.bottomEdgeStrokeType

Cell.diagonalLineStrokeType

Cell.innerColumnStrokeType

Cell.innerRowStrokeType

Cell.leftEdgeStrokeType

Cell.rightEdgeStrokeType

Cell.topEdgeStrokeType

ChangePreference.strikeThroughType

ChangePreference.underlineType

Character.ruleAboveType

Character.ruleBelowType

Character.strikeThroughType

Character.underlineType

CharacterStyle.strikeThroughType

CharacterStyle.underlineType

Column.bottomEdgeStrokeType

Column.diagonalLineStrokeType

Column.innerColumnStrokeType

Column.innerRowStrokeType

Column.leftEdgeStrokeType

Column.rightEdgeStrokeType

Column.topEdgeStrokeType

FindPreference.strikeThroughType

FindPreference.underlineType

FormField.strokeType

GraphicLine.strokeType

Group.strokeType

InsertionPoint.ruleAboveType

InsertionPoint.ruleBelowType

InsertionPoint.strikeThroughType

InsertionPoint.underlineType

Line.ruleAboveType

Line.ruleBelowType

Line.strikeThroughType

Line.underlineType

Oval.strokeType

PageItem.strokeType

Paragraph.ruleAboveType

Paragraph.ruleBelowType

Paragraph.strikeThroughType

Paragraph.underlineType

ParagraphStyle.ruleAboveType

ParagraphStyle.ruleBelowType

ParagraphStyle.strikeThroughType

ParagraphStyle.underlineType

Polygon.strokeType

Rectangle.strokeType

Row.bottomEdgeStrokeType

Row.diagonalLineStrokeType

Row.innerColumnStrokeType

Row.innerRowStrokeType

Row.leftEdgeStrokeType

Row.rightEdgeStrokeType

Row.topEdgeStrokeType

Story.ruleAboveType

Story.ruleBelowType

Story.strikeThroughType

Story.underlineType

Table.bottomBorderStrokeType

Table.endColumnLineStyle

Table.endRowStrokeType

Table.leftBorderStrokeType

Table.rightBorderStrokeType

Table.startColumnStrokeType

Table.startRowStrokeType

Table.topBorderStrokeType

Text.ruleAboveType

Text.ruleBelowType

Text.strikeThroughType

Text.underlineType

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

Word.ruleAboveType

Word.ruleBelowType

Word.strikeThroughType

Word.underlineType

Used in:

void DashedStrokeStyle.remove (replacingWith: StrokeStyle)

void DottedStrokeStyle.remove (replacingWith: StrokeStyle)

void StripedStrokeStyle.remove (replacingWith: StrokeStyle)

void StrokeStyle.remove (replacingWith: StrokeStyle)

Return

StrokeStyle StrokeStyle.duplicate ()

Jongware, 27-Jun-2010 v3.0.3dContents :: Index