Represents the anchor and control-handle endpoints for a path segment. Each point (the anchor point, left-direction point, and right-direction point) is an array containing X and Y position coordinates.
PathPointobject to retrieve information about the points that describe existing path segments. The properties are read-only. Access PathPoint objects through the SubPathItem.pathPoints property.
For paths that are straight segments (not curved), the coordinates of all three points are the same. For curved segments, the coordinates are different. The difference between the anchor point and the left or right direction points determines the arc of the curve. Use the left direction point to bend the curve "outward" or make it convex; or use the right direction point to bend the curve "inward" or make it concave.
Added in Photoshop 23.3
|anchor||number||Read-only||The coordinates of the anchor point of the curve, in `[horizontal, vertical]` format.|
|kind||PointKind||Read-only||The role (corner or smooth) this point plays in the containing path segment.|
|leftDirection||number||Read-only||The location of the left-direction endpoint ('in' position), in `[horizontal, vertical]` format.|
|parent||SubPathItem||Read-only||The containing SubPath object|
|rightDirection||number||Read-only||The location of the right-direction endpoint ('out' position), in `[horizontal, vertical]` format.|
|typename||string||Read-only||The class name of the referenced object|