跳转到内容

PathPoint

app.activeDocument.pathItems[index].pathPoints[index]

特定路径上的一个点。

每个路径点由一个锚点(anchor)和一对控制点(leftDirectionrightDirection)组成。


app.activeDocument.pathItems[index].pathPoints[index].anchor

该点的锚点位置。

包含2个数字的数组


app.activeDocument.pathItems[index].pathPoints[index].leftDirection

该路径点的入控制点位置。

包含2个数字的数组


app.activeDocument.pathItems[index].pathPoints[index].parent

包含此路径点的路径项。

PathItem; 只读。


app.activeDocument.pathItems[index].pathPoints[index].pointType

路径点的类型,可以是曲线点或角点。任何点都可以被视为角点。

将类型设置为角点时,当用户尝试在用户界面中修改它们时,会强制左右方向点位于一条直线上。

PointType


app.activeDocument.pathItems[index].pathPoints[index].rightDirection

该路径点的出控制点位置。

包含2个数字的数组


app.activeDocument.pathItems[index].pathPoints[index].selected

此路径点的点是否被选中,如果是,哪些点被选中。

PathPointSelection


app.activeDocument.pathItems[index].pathPoints[index].typename

引用对象的类名。

字符串; 只读。


app.activeDocument.pathItems[index].pathPoints[index].remove()

从路径中移除引用的点。

无。