
Adobe Photoshop CS3
JavaScript Scripting Reference
JavaScript Object Reference 145
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 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
Property
Value Type
What it is
anchor
array
Read-write. The x and y coordinates of one end point of the
path segment.
kind
PointKind
Read-write. The
PathPointInfo
object’s kind.
leftDirection
array of
UnitValue
Read-write. The location of the left direction point (’in’
position).
Note:
For information about the
UnitValue
type, see the
JavaScript Tools Guide
.
rightDirection
array of
UnitValue
Read-write. The location of the right handle (’out’ position).
Note:
For information about the
UnitValue
type, see the
JavaScript Tools Guide
.
typename
string
Read-only. The class name of the referenced
PathPointInfo
object.