A collection of path points.
Go to Property Listing | Method Listing
add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
PathPoint add (withProperties:Object)
Creates a new PathPoint.
|
Parameter |
Type |
Description |
|---|---|---|
|
withProperties |
Initial values for properties of the new PathPoint (Optional) |
PathPoint anyItem ()
Returns any PathPoint in the collection.
Number count ()
Displays the number of elements in the PathPoint.
PathPoint everyItem ()
Returns every PathPoint in the collection.
PathPoint firstItem ()
Returns the first PathPoint in the collection.
PathPoint item (index:Varies Long String)
Returns the PathPoint with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Long |
The index or name. Can accept: Long or String. |
PathPoint itemByName (name:String)
Returns the PathPoint with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
PathPoint itemByRange (from:Varies Long PathPoint String, to:Varies Long PathPoint String)
Returns the PathPoints within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
Long |
The PathPoint, index, or name at the beginning of the range. Can accept: PathPoint, Long or String. |
|
to |
Long |
The PathPoint, index, or name at the end of the range. Can accept: PathPoint, Long or String. |
PathPoint lastItem ()
Returns the last PathPoint in the collection.
PathPoint middleItem ()
Returns the middle PathPoint in the collection.
PathPoint nextItem (obj:PathPoint)
Returns the PathPoint whose index follows the specified PathPoint in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The PathPoint whose index comes before the desired PathPoint. |
PathPoint previousItem (obj:PathPoint)
Returns the PathPoint with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the PathPoint that follows the desired PathPoint. |
String toSource ()
Generates a string which, if executed, will return the PathPoint.
Path.pathPoints