Register / Login
Swing / AWT / SWT
Drawing dotted/dashed lines in a scaled JPanel?
posted 7 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?
Boost this thread!
Line2D vs. Line2D.Float vs...
How are tiers shown in component diagram
draw smooth dash-ed line