Paths

A collection of paths.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Path [] (index:Number)

Returns the Path with the specified index.

Parameter

Type

Description

index

Number

The index.

Path add (withProperties:Object)

Creates a new Path.

Parameter

Type

Description

withProperties

Object

Initial values for properties of the new Path (Optional)

Path anyItem ()

Returns any Path in the collection.

Number count ()

Displays the number of elements in the Path.

Path everyItem ()

Returns every Path in the collection.

Path firstItem ()

Returns the first Path in the collection.

Path item (index:Varies LongInteger String)

Returns the Path with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

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

Returns the Paths within the specified range.

Parameter

Type

Description

from

LongInteger

Path

String

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

to

LongInteger

Path

String

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

Path lastItem ()

Returns the last Path in the collection.

Path middleItem ()

Returns the middle Path in the collection.

Path nextItem (obj:Path)

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

Parameter

Type

Description

obj

Path

The Path whose index comes before the desired Path.

Path previousItem (obj:Path)

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

Parameter

Type

Description

obj

Path

The index of the Path that follows the desired Path.

String toSource ()

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

Object of

Button.paths

MultiStateObject.paths

Movie.paths

Sound.paths

Oval.paths

Rectangle.paths

GraphicLine.paths

Polygon.paths

TextWrapPreference.paths

SplineItem.paths

MediaItem.paths

ClippingPathSettings.paths

TextFrame.paths

EndnoteTextFrame.paths