PathPoint

A path point of a path.

Properties

Property Type Access Description
anchor Array of number r/w The location of the path point on the page, in the format [x, y].
index number readonly The index of the PathPoint within its containing object.
leftDirection Array of number r/w The left-direction point, which controls the curve of the line segment preceding the path point on the path, in the format [x, y].
parent Path readonly The parent of the PathPoint (a Path).
pointType PointType
:
LINE_TYPE
SMOOTH
CORNER
r/w The path point type.
properties Object r/w A property that allows setting of several properties at the same time.
rightDirection Array of number r/w The right-direction point, which controls the curve of the line segment following the path point on the path, in the format [x, y].

Methods

Array of PathPointgetElements ()
Resolves the object specifier, creating an array of object references.

void remove ()
Deletes the PathPoint.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

PathPoints.previousItem (

obj:
PathPoint )

PathPoints.nextItem (

obj:
PathPoint )

Returned by:

Array of PathPoint PathPoint .getElements (

)

PathPoint PathPoints.add (
[withProperties:
Object]
)

PathPoint PathPoints.anyItem (

)

Array of PathPoint PathPoints.everyItem (

)

PathPoint PathPoints.firstItem (

)

PathPoint PathPoints.item (
index:
any
)

PathPoint PathPoints.itemByName (
name:
string
)

Array of PathPoint PathPoints.itemByRange (
from:
any, to:
any
)

PathPoint PathPoints.lastItem (

)

PathPoint PathPoints.middleItem (

)

PathPoint PathPoints.nextItem (
obj:
PathPoint
)

PathPoint PathPoints.previousItem (
obj:
PathPoint
)

Leave a Comment

Previous post:

Next post: