Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/jfree/CollisionFreeXYTextAnnotationEntity.java @ 4796:729a5edb0313
Added intersectsQRange to QRangeTree to check if a given Q range intersects the Qs of the tree. Useful for 'Umhuellende'. TODO make check depend on km range.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 12 Jan 2013 11:30:46 +0100 |
parents | 79d1db7797e6 |
children |
line wrap: on
line source
package de.intevation.flys.jfree; import java.awt.Shape; import org.jfree.chart.entity.XYAnnotationEntity; /** * Chart Entity for XYTextAnnotations that should not collide. */ public class CollisionFreeXYTextAnnotationEntity extends XYAnnotationEntity { public CollisionFreeXYTextAnnotationEntity( Shape hotspot, int rendererIndex, String toolTip, String url ) { super(hotspot, rendererIndex, toolTip, url); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :