08.08.14, 15:24
The following code creates three documents with a rectangle path in all of them.
bug: the last one created does have the correct stroke/fill.. but the first two don't.
1
2
3
4
5
6
7
for(i=0; i<3; i++){
var newDoc=Document("test document "+i, 200, 200, Color.MODEL_CMYK, Document.DIALOG_NONE)
var bla=new Path(newDoc,new Rectangle(100,100,100,100));
bla.style.stroke.width=0.25;
bla.style.stroke.color=new CMYKColor(0,0,0,1);
bla.style.fill.color=Color.NONE;
}