Edit in GitHubLog an issue

Paths

A collection of paths.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Path add( Object withProperties )

Creates a new Path.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new Path (Optional)

Number count()

Displays the number of elements in the Path.


Path item( Mixed index )

Returns the Path with the specified index or name.

Parameters

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

Path itemByRange( Mixed from, Mixed to )

Returns the Paths within the specified range.

Parameters

TypeNameDescription
Mixed
from
The Path, index, or name at the beginning of the range. Can accept: Path, Long Integer or String.
Mixed
to
The Path, index, or name at the end of the range. Can accept: Path, Long Integer or String.

Path firstItem()

Returns the first Path in the collection.


Path lastItem()

Returns the last Path in the collection.


Path middleItem()

Returns the middle Path in the collection.


Path previousItem( Path obj )

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

Parameters

TypeNameDescription
Path
obj
The index of the Path that follows the desired Path.

Path nextItem( Path obj )

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

Parameters

TypeNameDescription
Path
obj
The Path whose index comes before the desired Path.

Path anyItem()

Returns any Path in the collection.


Path everyItem()

Returns every Path in the collection.


String toSource()

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


Path []( Number index )

Returns the Path with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.