An artwork path item.
Go to Property Listing | Method Listing
Boolean, Color, Number, PathPoints, PolarityValues, String, StrokeCap, StrokeJoin
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The area of this path in square points. |
||
read/write |
Should this be used as a clipping path? |
||
read/write |
Is this path closed? |
||
read/write |
Should the even-odd rule be used to determine insideness? |
||
read/write |
Fill color. |
||
read/write |
Will art beneath a filled object be overprinted? |
||
read/write |
Should the path be filled? |
||
read/write |
Is this path a guide object? |
||
readonly |
The length of this path in points. |
||
readonly |
The object's container. |
||
readonly |
|||
read/write |
The polarity the path. |
||
read/write |
The resolution of the path. |
||
ObjectArray |
readonly |
All the selected points in the path. |
|
read/write |
Type of line capping. |
||
read/write |
Stroke color. |
||
read/write |
The default distance into the dash pattern at which the pattern should be started. |
||
read/write |
Dash lengths (set to {} for a solid line) |
||
read/write |
Type of joints. |
||
read/write |
Whether a join is mitered (pointed) or beveled (squared-off) |
||
read/write |
Will art beneath a stroked object be overprinted? |
||
read/write |
Width of stroke. |
||
read/write |
Should the path be stroked? |
||
readonly |
The class name of the object. |
PathItem duplicate (relativeObject:Object, insertionLocation:ElementPlacement)
Duplicate this object.
Parameter |
Type |
Description |
---|---|---|
relativeObject |
||
insertionLocation |
ElementPlacement |
PathItem move (relativeObject:Object, insertionLocation:ElementPlacement)
Move the object.
Parameter |
Type |
Description |
---|---|---|
relativeObject |
||
insertionLocation |
ElementPlacement |
undefined remove ()
Deletes this object.
undefined removeAll ()
Deletes all elements.
undefined setEntirePath (pathPoints:Array of Varies)
Set the path using the provided array of path point (x, y) coordinate pairs.
Parameter |
Type |
Description |
---|---|---|
pathPoints |
Array of Varies |
Array of (x, y) coordinate pairs for the path points. |