PathPoint
PathPoint
Section titled “PathPoint”app.activeDocument.pathItems[index].pathPoints[index]
特定路径上的一个点。
每个路径点由一个锚点(anchor
)和一对控制点(leftDirection
和 rightDirection
)组成。
PathPoint.anchor
Section titled “PathPoint.anchor”app.activeDocument.pathItems[index].pathPoints[index].anchor
该点的锚点位置。
包含2个数字的数组
PathPoint.leftDirection
Section titled “PathPoint.leftDirection”app.activeDocument.pathItems[index].pathPoints[index].leftDirection
该路径点的入控制点位置。
包含2个数字的数组
PathPoint.parent
Section titled “PathPoint.parent”app.activeDocument.pathItems[index].pathPoints[index].parent
包含此路径点的路径项。
PathItem; 只读。
PathPoint.pointType
Section titled “PathPoint.pointType”app.activeDocument.pathItems[index].pathPoints[index].pointType
路径点的类型,可以是曲线点或角点。任何点都可以被视为角点。
将类型设置为角点时,当用户尝试在用户界面中修改它们时,会强制左右方向点位于一条直线上。
PathPoint.rightDirection
Section titled “PathPoint.rightDirection”app.activeDocument.pathItems[index].pathPoints[index].rightDirection
该路径点的出控制点位置。
包含2个数字的数组
PathPoint.selected
Section titled “PathPoint.selected”app.activeDocument.pathItems[index].pathPoints[index].selected
此路径点的点是否被选中,如果是,哪些点被选中。
PathPoint.typename
Section titled “PathPoint.typename”app.activeDocument.pathItems[index].pathPoints[index].typename
引用对象的类名。
字符串; 只读。
PathPoint.remove()
Section titled “PathPoint.remove()”app.activeDocument.pathItems[index].pathPoints[index].remove()
从路径中移除引用的点。
无。