Register / Login
Win a copy of
Clojure in Action
this week in the
Swing / AWT / SWT
Drawing dotted/dashed lines in a scaled JPanel?
posted 6 years ago
It's not that I can't draw dotted lines, I can, but when I use Graphics2D.scale() to zoom in or out on the
the dotted lines become ugly/rough/fuzzy depending on the scale factor.
I want the dotted lines to scale correctly in terms of location, but not change the appearance or spacing of the dottedness. Is there a way to do this?
I agree. Here's the link:
Line2D vs. Line2D.Float vs...
How are tiers shown in component diagram
draw smooth dash-ed line