Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

How do I make a custom shape using Javascript?

$
0
0

I would like to create a trapezoid shape and be able to color it in, just like I'm able to do with the PathItems (e.g. rectangle, ellipse). I would like to be able to do this in Javascript.

 

I was thinking it might have to do with PathPoints, but Adobe's Scripting Reference Guide does not make it clear.

 

If anyone could give me some quick sample code on how to do this, I'd be much appreciative. Or just a description would be great.

 

THANK YOU VERY MUCH


Viewing all articles
Browse latest Browse all 12845

Trending Articles