StrokeStyle

A stroke style.

Methods:

duplicate, getElements, remove, toSource, toSpecifier

Objects:

Number, Object, String

Hierarchy:

Class: StrokeStyle

Subclasses: DashedStrokeStyle | DottedStrokeStyle | StripedStrokeStyle

Property Listing

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

read/write

The name of the StrokeStyle.

parent

Application

Document

readonly

The parent of the StrokeStyle (a Document or Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

strokeStyleType

String

readonly

The stroke style type.

Method Listing

StrokeStyle duplicate ()

Duplicates the StrokeStyle.

Object getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove (replacingWith:StrokeStyle)

Deletes the stroke style.

Parameter

Type

Description

replacingWith

StrokeStyle

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

Object of

Cell.diagonalLineStrokeType

Column.diagonalLineStrokeType

Row.diagonalLineStrokeType

CellStyle.diagonalLineStrokeType

FormField.strokeType

Button.strokeType

PageItem.strokeType

Oval.strokeType

Rectangle.strokeType

GraphicLine.strokeType

Polygon.strokeType

Group.strokeType

ObjectStyle.strokeType

TextFrame.strokeType

TableStyle.startColumnStrokeType

Table.startColumnStrokeType

TableStyle.endColumnLineStyle

Table.endColumnLineStyle

TableStyle.startRowStrokeType

Table.startRowStrokeType

TableStyle.endRowStrokeType

Table.endRowStrokeType

TableStyle.bottomBorderStrokeType

Table.bottomBorderStrokeType

Cell.bottomEdgeStrokeType

Column.bottomEdgeStrokeType

Row.bottomEdgeStrokeType

CellStyle.bottomEdgeStrokeType

Cell.innerColumnStrokeType

Column.innerColumnStrokeType

Row.innerColumnStrokeType

Cell.innerRowStrokeType

Column.innerRowStrokeType

Row.innerRowStrokeType

TableStyle.leftBorderStrokeType

Table.leftBorderStrokeType

Cell.leftEdgeStrokeType

Column.leftEdgeStrokeType

Row.leftEdgeStrokeType

CellStyle.leftEdgeStrokeType

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

TextDefault.ruleBelowType

Text.ruleBelowType

Character.ruleBelowType

Word.ruleBelowType

Line.ruleBelowType

TextColumn.ruleBelowType

Paragraph.ruleBelowType

TextStyleRange.ruleBelowType

InsertionPoint.ruleBelowType

Story.ruleBelowType

ParagraphStyle.ruleBelowType

TextDefault.strikeThroughType

Text.strikeThroughType

Character.strikeThroughType

Word.strikeThroughType

Line.strikeThroughType

TextColumn.strikeThroughType

Paragraph.strikeThroughType

TextStyleRange.strikeThroughType

InsertionPoint.strikeThroughType

Story.strikeThroughType

ParagraphStyle.strikeThroughType

FindPreference.strikeThroughType

ChangePreference.strikeThroughType

CharacterStyle.strikeThroughType

TableStyle.rightBorderStrokeType

Table.rightBorderStrokeType

TableStyle.topBorderStrokeType

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

FindPreference.underlineType

ChangePreference.underlineType

CharacterStyle.underlineType

Return

StrokeStyle.duplicate()

StrokeStyles.anyItem()

StrokeStyles.everyItem()

StrokeStyles.nextItem()

StrokeStyles.previousItem()

StrokeStyles.itemByID()

StrokeStyles.item()

StrokeStyles.itemByName()

StrokeStyles.itemByRange()

StrokeStyles.firstItem()

StrokeStyles.lastItem()

StrokeStyles.middleItem()