Adobe InCopy CS6 (8.0) Object Model JS: PathPoints

InCopy CS6

Class

PathPoints

 A collection of path points.

See also PathPoint.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

PathPoint [] (index: number)
Returns the PathPoint with the specified index.

ParameterTypeDescription
indexnumberThe index.

PathPoint anyItem ()
Returns any PathPoint in the collection.

number count ()
Displays the number of elements in the PathPoint.

Array of PathPoint everyItem ()
Returns every PathPoint in the collection.

PathPoint firstItem ()
Returns the first PathPoint in the collection.

PathPoint item (index: varies)
Returns the PathPoint with the specified index or name.

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

Array of PathPoint itemByRange (from: varies, to: varies)
Returns the PathPoints within the specified range.

ParameterTypeDescription
fromLong Integer
PathPoint
String
The PathPoint, index, or name at the beginning of the range. Can accept: PathPoint, Long Integer or String.
toLong Integer
PathPoint
String
The PathPoint, index, or name at the end of the range. Can accept: PathPoint, Long Integer 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.

ParameterTypeDescription
objPathPointThe PathPoint whose index comes before the desired PathPoint.

PathPoint previousItem (obj: PathPoint)
Returns the PathPoint with the index previous to the specified index.

ParameterTypeDescription
objPathPointThe index of the PathPoint that follows the desired PathPoint.

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

Element of

Path.pathPoints

Jongware, 29-Apr-2012 v3.0.3iContents :: Index