PathPoint

A path point of a path.

Methods:

getElements, remove, toSource, toSpecifier

Objects:

Number, Object, PointType, String

Property Listing

Property

Type

Access

Description

anchor

Array of Number

Array of String

read/write

The location of the path point on the page, in the format [x, y].

index

Number

readonly

The index of the PathPoint within its containing object.

leftDirection

Array of Number

Array of String

read/write

The left-direction point, which controls the curve of the line segment preceding the path point on the path, in the format [x, y].

parent

Path

readonly

The parent of the PathPoint (a Path).

pointType

PointType

PointType.CORNER

PointType.LINE_TYPE

PointType.SMOOTH

read/write

The path point type.

properties

Object

read/write

A property that allows setting of several properties at the same time.

rightDirection

Array of Number

Array of String

read/write

The right-direction point, which controls the curve of the line segment following the path point on the path, in the format [x, y].

Method Listing

PathPoint getElements ()

Resolves the object specifier, creating an array of object references.

undefined remove ()

Deletes the PathPoint.

String toSource ()

Generates a string which, if executed, will return the PathPoint.

String toSpecifier ()

Retrieves the object specifier.

Return

PathPoints.add()

PathPoint.getElements()

PathPoints.anyItem()

PathPoints.everyItem()

PathPoints.nextItem()

PathPoints.previousItem()

PathPoints.item()

PathPoints.itemByName()

PathPoints.itemByRange()

PathPoints.firstItem()

PathPoints.lastItem()

PathPoints.middleItem()