Status: New
Owner: ----

New issue 221 by Cannot draw veritical and horizontal lines of 0 width stroke using PPath

What steps will reproduce the problem?
1. Use the following code:
PPath line = PPath.createLine(5f, 10f, 5f, 100f);
line.setStroke(new BasicStroke(0));

2. The following code too:
PPath line = new PPath();
line.setStroke(new BasicStroke(0));
line.moveTo(5f, 10f);
line.lineTo(5f, 100f);

What is the expected output? What do you see instead?
A horizontal or vertical line of 1 pixel wide should be drawn in any zoom level. However the line just can not be seen!

What version of the product are you using? On what operating system? 1.3.1 is used on java 1.6.0_14-b08, Windows XP SP3.

Piccolo2D Developers Group:

Reply via email to