Comment #1 on issue 245 by heue...@gmail.com: SWTGraphics2D.fill wrong color used
http://code.google.com/p/piccolo2d/issues/detail?id=245

Thank you for reporting this issue.

I don't know SWT very well, but this code from org.piccolo2d.extras.swt.examples.FillShapeExample, line 107

PSWTPath rectNullStrokePaint = PSWTPath.createRectangle(325.0f, 400.0f, 50.0f, 100.0f);
rectNullStrokePaint.setPaint(Color.YELLOW);
rectNullStrokePaint.setStrokeColor(null);

seems to do what I would expect, displays a yellow rectangle with no stroke.

--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to