Adobe 26001360 Scripting Guide - Page 391
PathPoint, Table 5.94, PathPoint - Properties, PathPoint - Methods
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 391 highlights
Adobe Illustrator CS Scripting Guide 391 PathPoint A point on a specific path. Each path point is made up of an anchor point (Anchor) and a pair of handles (LeftDirection and RightDirection). Table 5.94 PathPoint - Properties Property R/O Value type What it is Anchor Application LeftDirection Parent PointType RightDirection Selected Variant Array (of 2 The position of this point's anchor point Doubles) R/O Application object The Illustrator Application object Variant Array (of 2 The position of this path point's in control Doubles) point R/O object The object that contains this PathPoint object AiPointType enumeration The type of path point, either a curve or a corner Variant Array (of 2 The position of this path point's out Doubles) control point AiPathPointSelec- Are points of this path point selected? If tion enumeration so, which one(s)? Table 5.95 PathPoint - Methods Method Returns Delete() Nothing What it does Delete the object Notes A PathPoint represents a point on a path, with its pair of control points, or handles. Any point can considered a corner point. Setting the PointType property of a path point to a corner forces the left and right direction points to be on a straight line when the user attempts to modify them in the user interface. Example 48.1 This script illustrates how to change the shape of a PathItem by modifying the left direction and the right direction of the PathPoint. Dim appRef As New Illustrator.Application 12 Aug 03