Adobe InDesign CS2 (4.0) Object Model JS: StrokeStyle

InDesign CS2

Class

StrokeStyle

 

A stroke style.

Superclass of DashedStrokeStyle, DottedStrokeStyle, and StripedStrokeStyle

QuickLinks

duplicate, getElements, remove, toSource, toSpecifier

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.

Array of Object getElements ()
Resolves the object specifier, creating an array of object references.

void remove ([replacingWith: StrokeStyle])
Deletes the stroke style.

ParameterTypeDescription
replacingWithStrokeStyleThe stroke style to apply in place of this one (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

CellStyle.bottomEdgeStrokeType

CellStyle.diagonalLineStrokeType

CellStyle.leftEdgeStrokeType

CellStyle.rightEdgeStrokeType

CellStyle.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

FootnoteOption.continuingRuleType

FootnoteOption.ruleType

FormField.strokeType

GraphicLine.strokeType

Group.strokeType

InsertionPoint.ruleAboveType

InsertionPoint.ruleBelowType

InsertionPoint.strikeThroughType

InsertionPoint.underlineType

Line.ruleAboveType

Line.ruleBelowType

Line.strikeThroughType

Line.underlineType

ObjectStyle.strokeType

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

TableStyle.bottomBorderStrokeType

TableStyle.endColumnLineStyle

TableStyle.endRowStrokeType

TableStyle.leftBorderStrokeType

TableStyle.rightBorderStrokeType

TableStyle.startColumnStrokeType

TableStyle.startRowStrokeType

TableStyle.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])

array of StrokeStyle StrokeStyles.itemByRange (from: any, to: any)

StrokeStyle StrokeStyles.nextItem (obj: StrokeStyle)

StrokeStyle StrokeStyles.previousItem (obj: StrokeStyle)

Return

StrokeStyle StrokeStyle.duplicate ()

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)

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