comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java @ 1156:4da9f058fed6

Fix flys/issue280 (boundingboxes of annotation). flys-artifacts/trunk@2687 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 09 Sep 2011 13:26:28 +0000
parents e298c4d28927
children f1c9bfb07ba7
comparison
equal deleted inserted replaced
1155:854c2f7da3f1 1156:4da9f058fed6
298 } 298 }
299 g2.setPaint(getPaint()); 299 g2.setPaint(getPaint());
300 TextUtilities.drawRotatedString(getText(), g2, anchorX, anchorY, 300 TextUtilities.drawRotatedString(getText(), g2, anchorX, anchorY,
301 getTextAnchor(), getRotationAngle(), getRotationAnchor()); 301 getTextAnchor(), getRotationAngle(), getRotationAnchor());
302 // Draw outline. 302 // Draw outline.
303 if (true) { 303 if (false) {
304 g2.setStroke(getOutlineStroke()); 304 g2.setStroke(getOutlineStroke());
305 g2.setPaint(getOutlinePaint()); 305 g2.setPaint(getOutlinePaint());
306 g2.draw(hotspot); 306 g2.draw(hotspot);
307 } 307 }
308 308

http://dive4elements.wald.intevation.org