A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Drawing dotted/dashed lines in a scaled JPanel?
Joined: Jan 23, 2009
Mar 03, 2009 11:43:49
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:
subject: Drawing dotted/dashed lines in a scaled JPanel?
Line2D vs. Line2D.Float vs...
draw smooth dash-ed line
How are tiers shown in component diagram
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013