fix for default stroke cap and join

This commit is contained in:
benfry
2010-02-27 23:54:39 +00:00
parent 513c73a5b9
commit 4b94804827
@@ -682,8 +682,11 @@ public class PGraphics extends PImage implements PConstants {
colorMode(RGB, 255);
fill(255);
stroke(0);
// other stroke attributes are set in the initializers
// inside the class (see above, strokeWeight = 1 et al)
// added for 0178 for subclasses that need them
strokeWeight(DEFAULT_STROKE_WEIGHT);
strokeJoin(DEFAULT_STROKE_JOIN);
strokeCap(DEFAULT_STROKE_CAP);
// init shape stuff
shape = 0;