PathPoint

A path point of a path.

Methods:

remove

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

undefined remove ()

Deletes the PathPoint.

Return

PathPoints.add()