PathPoint
PathPoint
Section titled “PathPoint”app.activeDocument.pathItems[index].pathPoints[index]
Description
Section titled “Description”A point on a specific path.
Each path point is made up of an anchor point (anchor
) and a pair of handles (leftDirection
and rightDirection
).
Properties
Section titled “Properties”PathPoint.anchor
Section titled “PathPoint.anchor”app.activeDocument.pathItems[index].pathPoints[index].anchor
Description
Section titled “Description”The position of this point’s anchor point.
Array of 2 numbers
PathPoint.leftDirection
Section titled “PathPoint.leftDirection”app.activeDocument.pathItems[index].pathPoints[index].leftDirection
Description
Section titled “Description”The position of this path point’s in control point.
Array of 2 numbers
PathPoint.parent
Section titled “PathPoint.parent”app.activeDocument.pathItems[index].pathPoints[index].parent
Description
Section titled “Description”The path item that contains this path point.
PathItem; read-only.
PathPoint.pointType
Section titled “PathPoint.pointType”app.activeDocument.pathItems[index].pathPoints[index].pointType
Description
Section titled “Description”The type of path point, either a curve or a corner. Any point can considered a corner point.
Setting the type to a corner forces the left and right direction points to be on a straight line when the user attempts to modify them in the user interface.
PathPoint.rightDirection
Section titled “PathPoint.rightDirection”app.activeDocument.pathItems[index].pathPoints[index].rightDirection
Description
Section titled “Description”The position of this path point’s out control point.
Array of 2 numbers
PathPoint.selected
Section titled “PathPoint.selected”app.activeDocument.pathItems[index].pathPoints[index].selected
Description
Section titled “Description”Are points of this path point selected, and if so, which ones.
PathPoint.typename
Section titled “PathPoint.typename”app.activeDocument.pathItems[index].pathPoints[index].typename
Description
Section titled “Description”The class name of the referenced object.
String; read-only.
Methods
Section titled “Methods”PathPoint.remove()
Section titled “PathPoint.remove()”app.activeDocument.pathItems[index].pathPoints[index].remove()
Description
Section titled “Description”Removes the referenced point from the path.
Returns
Section titled “Returns”Nothing.