Edit in GitHubLog an issue

PathPoints

A collection of path points.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

PathPoint add( Object withProperties )

Creates a new PathPoint.

Parameters

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

Number count()

Displays the number of elements in the PathPoint.


PathPoint item( Mixed index )

Returns the PathPoint with the specified index or name.

Parameters

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

PathPoint itemByRange( Mixed from, Mixed to )

Returns the PathPoints within the specified range.

Parameters

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

PathPoint firstItem()

Returns the first PathPoint in the collection.


PathPoint lastItem()

Returns the last PathPoint in the collection.


PathPoint middleItem()

Returns the middle PathPoint in the collection.


PathPoint previousItem( PathPoint obj )

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

Parameters

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

PathPoint nextItem( PathPoint obj )

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

Parameters

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

PathPoint anyItem()

Returns any PathPoint in the collection.


PathPoint everyItem()

Returns every PathPoint in the collection.


String toSource()

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


PathPoint []( Number index )

Returns the PathPoint 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.