diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-20 16:55:12 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-20 16:55:12 -0800 |
commit | 440a0f3f5130eb0c8e614691892be8c94e7fd3c3 (patch) | |
tree | e6578dc35e2fdd1096dd96ff24f8bb7ff49f054c /ao-tools | |
parent | 8df185cd95cfecbed8272dd1275d077c5b45535b (diff) |
altosui: Set site map flight path lines to 6 pixels anti-aliased.
Much more visible over the map.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools')
-rw-r--r-- | ao-tools/altosui/AltosSiteMapTile.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosSiteMapTile.java b/ao-tools/altosui/AltosSiteMapTile.java index 9d6f855d..fd4cf0bb 100644 --- a/ao-tools/altosui/AltosSiteMapTile.java +++ b/ao-tools/altosui/AltosSiteMapTile.java @@ -125,6 +125,9 @@ public class AltosSiteMapTile extends JLayeredPane { draw = new JLabel(); g2d = fillLabel(draw, new Color(127, 127, 127, 0), px_size); + g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, + RenderingHints.VALUE_ANTIALIAS_ON); + g2d.setStroke(new BasicStroke(6, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND)); draw.setBounds(0, 0, px_size, px_size); draw.setOpaque(false); |