StrokeStyles

A collection of stroke styles.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

StrokeStyle [] (index:Number)

Returns the StrokeStyle with the specified index.

Parameter

Type

Description

index

Number

The index.

StrokeStyle anyItem ()

Returns any StrokeStyle in the collection.

Number count ()

Displays the number of elements in the StrokeStyle.

StrokeStyle everyItem ()

Returns every StrokeStyle in the collection.

StrokeStyle firstItem ()

Returns the first StrokeStyle in the collection.

StrokeStyle item (index:Varies LongInteger String)

Returns the StrokeStyle with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

StrokeStyle itemByID (id:Number)

Returns the StrokeStyle with the specified ID.

Parameter

Type

Description

id

Number

The ID.

StrokeStyle itemByName (name:String)

Returns the StrokeStyle with the specified name.

Parameter

Type

Description

name

String

The name.

StrokeStyle itemByRange (from:Varies LongInteger StrokeStyle String, to:Varies LongInteger StrokeStyle String)

Returns the StrokeStyles within the specified range.

Parameter

Type

Description

from

LongInteger

StrokeStyle

String

The StrokeStyle, index, or name at the beginning of the range. Can accept: StrokeStyle, Long Integer or String.

to

LongInteger

StrokeStyle

String

The StrokeStyle, index, or name at the end of the range. Can accept: StrokeStyle, Long Integer or String.

StrokeStyle lastItem ()

Returns the last StrokeStyle in the collection.

StrokeStyle middleItem ()

Returns the middle StrokeStyle in the collection.

StrokeStyle nextItem (obj:StrokeStyle)

Returns the StrokeStyle whose index follows the specified StrokeStyle in the collection.

Parameter

Type

Description

obj

StrokeStyle

The StrokeStyle whose index comes before the desired StrokeStyle.

StrokeStyle previousItem (obj:StrokeStyle)

Returns the StrokeStyle with the index previous to the specified index.

Parameter

Type

Description

obj

StrokeStyle

The index of the StrokeStyle that follows the desired StrokeStyle.

String toSource ()

Generates a string which, if executed, will return the StrokeStyle.

Object of

Application.strokeStyles

Document.strokeStyles