Adobe Photoshop CS5 Object Library JS: PathPointInfo

Photoshop CS5

Class

PathPointInfo

 A point on a path, expressed as an array of three coordinate arrays: the anchor point, left direction point, and right direction point. For paths that are straight segments (not curved), the coordinates of all three points are the same. For curved segements, the coordinates are different. The difference between the anchor point and the left or right direction points determines the arc of the curve. You use the left direction point to bend the curve "outward" or make it convex; you use the right direction point to bend the curve "inward" or make it concave.

Properties

PropertyTypeAccessDescription
anchor Array of Point r/wThe x and y coordinates of one end point of the path segment.
kindPointKind:
PointKind.SMOOTHPOINT
PointKind.CORNERPOINT
r/wThe point type.
leftDirection Array of Point r/wThe location of the left direction point ("in" position).
rightDirection Array of Point r/wThe location of the right direction point ("out" position).

Class

PropertyTypeAccessDescription
anchor Array of Point r/wThe x and y coordinates of one end point of the path segment.
kindPointKind:
PointKind.SMOOTHPOINT
PointKind.CORNERPOINT
r/wThe point type.
leftDirection Array of Point r/wThe location of the left direction point ("in" position).
rightDirection Array of Point r/wThe location of the right direction point ("out" position).

Element of

SubPathInfo.entireSubPath

Jongware, 28-Aug-2012 v3.0.3iContents :: Index