A stroke width of 0 is a "harline" stroke that is visible and is drawn as a thin line of constant width without respect to scale. This needs to be documented, possibly by borrowing language from AWT BasicStroke:
If width is set to 0.0, the stroke is rendered as the thinnest possible line for the target device and the antialias hint setting.
If width is set to 0.0, the stroke is rendered as the thinnest possible line for the target device and the antialias hint setting.
- relates to
-
JDK-8107630 PRISM: Setting strokeWidth to 0 does not leave a hair-line stroke around the shape
-
- Closed
-
-
JDK-8111947 setStrokeWidth(0) should remove stroke from shape
-
- Closed
-