Pathpoint - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide

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
Anchor
Application
LeftDirection
Parent
PointType
RightDirection
Selected
Table 5.95 PathPoint — Methods
Method
Delete()
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
R/O
Value type
Variant Array (of 2
Doubles)
R/O
Application object
Variant Array (of 2
Doubles)
R/O
object
AiPointType
enumeration
Variant Array (of 2
Doubles)
AiPathPointSelec-
tion enumeration
Returns
Nothing
12 Aug 03
What it is
The position of this point's anchor point
The Illustrator Application object
The position of this path point's in control
point
The object that contains this
PathPoint object
The type of path point, either a curve or a
corner
The position of this path point's out
control point
Are points of this path point selected? If
so, which one(s)?
What it does
Delete the object
391

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents