public class LabelIndex extends Object
| Constructor and Description | 
|---|
| LabelIndex() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLabel(LabelCacheItem item,
        Rectangle2D bounds)Adds a label into the index | 
| boolean | labelsWithinDistance(Rectangle2D bounds,
                    double distance)Returns true if there is any label in the index within the specified distance from the
 bounds. | 
| void | reserveArea(List<Rectangle2D> reserved)Reserve the area indicated by these Geometry. | 
public boolean labelsWithinDistance(Rectangle2D bounds, double distance)
bounds - distance - public void addLabel(LabelCacheItem item, Rectangle2D bounds)
item - bounds - public void reserveArea(List<Rectangle2D> reserved)
reserved - Copyright © 1996–2019 Geotools. All rights reserved.