Sg2.9
Document() and changing strok...
Recent RSS
Document() and changing stroke/fill of a path
Date:  4. June 2006, 14:28

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.

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;
}
Re: Document() and changing stroke/fill of a path
From:  Jürg Lehni
Date:  26. June 2006, 23:04

Fxed in 2.0.015

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Crumpler 23.07.10