StrokeStyle

A stroke style.

Methods:

duplicate, remove

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.

undefined remove (replacingWith:StrokeStyle)

Deletes a stroke style.

Parameter

Type

Description

replacingWith

StrokeStyle

The stroke style to apply in place of this one

Object of

Cell.diagonalLineStrokeType

Column.diagonalLineStrokeType

Row.diagonalLineStrokeType

FormField.strokeType

Button.strokeType

PageItem.strokeType

Oval.strokeType

Rectangle.strokeType

GraphicLine.strokeType

Polygon.strokeType

Group.strokeType

TextFrame.strokeType

Table.startColumnStrokeType

Table.endColumnLineStyle

Table.startRowStrokeType

Table.endRowStrokeType

Table.bottomBorderStrokeType

Cell.bottomEdgeStrokeType

Column.bottomEdgeStrokeType

Row.bottomEdgeStrokeType

Cell.innerColumnStrokeType

Column.innerColumnStrokeType

Row.innerColumnStrokeType

Cell.innerRowStrokeType

Column.innerRowStrokeType

Row.innerRowStrokeType

Table.leftBorderStrokeType

Cell.leftEdgeStrokeType

Column.leftEdgeStrokeType

Row.leftEdgeStrokeType

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

Cell.rightEdgeStrokeType

Column.rightEdgeStrokeType

Row.rightEdgeStrokeType

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

Table.rightBorderStrokeType

Table.topBorderStrokeType

Cell.topEdgeStrokeType

Column.topEdgeStrokeType

Row.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()