Bug with P2D + smooth and stroke ?
in
Programming Questions
•
2 years ago
Hi,
here is a small test where I can't understand why the borders of the rectangle are not black.
If I comment the smooth(); command, all is fine.
-
void setup () {size (600,400,P2D);smooth ();strokeWeight(2);}
void draw () {background (255);fill (0);stroke (255,0,0);ellipse (150,200,200,200);fill (255,0,0);stroke (0);rect (350,100,200,200);}
1