Copy link to clipboard
Copied
Hi,
I've got a book ("Adobe Scripting" by Visual) which I'm studying for a script I'm writing.
On page 40 it says the order of points on a rectangular Illustrator path goes counter-clockwise like this:
0 = Top Left
1 = Bottom Left
2 = Bottom Right
3 = Top Right
When I add arrowheads to my rectangles though they appear thus:
(Note how none of these follow the ordering described in the book)
My question is- what's up?!
Copy link to clipboard
Copied
Maybe you or somebody rotated rectangle?
Pawel
Copy link to clipboard
Copied
Good thought macpawl, but hopefully the screen grab shows and makes clear that I'm using a variety of rectangles, ruling out that possibility.
For clarity: I've added flight feathers at the path starts and arrowheads at the path ends.
btw: I've just run the wonderful PathsOneDirection.js script over the paths shown in the previous grab and they now look like this:
Copy link to clipboard
Copied
So what is the code that makes the shape?
Copy link to clipboard
Copied
Sorry for the late response Silly-V​, no code, these are carefully drawn by hand to explore the PathPoint ordering in AI.