Illustrator29
Collection

PathItem

An artwork path item.

PageItem PathItem

Properties

NameType AccessDescription
Number readonly The area of this path in square points.
Boolean read/write Should this be used as a clipping path?
Boolean read/write Is this path closed?
Boolean read/write Should the even-odd rule be used to determine insideness?
Color read/write Fill color.
Boolean read/write Will art beneath a filled object be overprinted?
Boolean read/write Should the path be filled?
Boolean read/write Is this path a guide object?
Number readonly The length of this path in points.
The readonly The object's container.
PathPoints<PathPoint> readonly
PolarityValues
read/write The polarity the path.
Number read/write The resolution of the path.
ObjectArray readonly All the selected points in the path.
StrokeCap
read/write Type of line capping.
Color read/write Stroke color.
Number read/write The default distance into the dash pattern at which the pattern should be started.
Number[] read/write Dash lengths (set to {} for a solid line)
StrokeJoin
read/write Type of joints.
Number read/write Whether a join is mitered (pointed) or beveled (squared-off)
Boolean read/write Will art beneath a stroked object be overprinted?
Number read/write Width of stroke.
Boolean read/write Should the path be stroked?
String readonly The class name of the object.

Methods

PathItem

Duplicate this object.

relativeObject Object
insertionLocation ElementPlacement
PathItem

Move the object.

relativeObject Object
insertionLocation ElementPlacement
void

Deletes this object.

void

Deletes all elements.

void

Set the path using the provided array of path point (x, y) coordinate pairs.

pathPoints Varies[] Array of (x, y) coordinate pairs for the path points.

Parameter of 2

Method parameters that accept a PathItem.

Return 9

Methods that return a PathItem.