Hi all,
I have recently started to support dashed strokes in my application and found that dashed strokes are not well suited for drawing GeneralPaths. The unstroked segments are too small, and at one point they disappear, making the dashed GeneralPath look like a solid GeneralPath.
Here is some sample code to play:
The line and the rectangle are drawn correctly with a dashed stroke, but the Path2D.Double is a continuous line.
Can anybody reproduce it, and can this be solved?
This code was tested on WinMe and WinXP, java build 1.6.0_22-b04.
Thanks for help,
Peter
I have recently started to support dashed strokes in my application and found that dashed strokes are not well suited for drawing GeneralPaths. The unstroked segments are too small, and at one point they disappear, making the dashed GeneralPath look like a solid GeneralPath.
Here is some sample code to play:
The line and the rectangle are drawn correctly with a dashed stroke, but the Path2D.Double is a continuous line.
Can anybody reproduce it, and can this be solved?
This code was tested on WinMe and WinXP, java build 1.6.0_22-b04.
Thanks for help,
Peter