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