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)
public void addLabel(LabelCacheItem item, Rectangle2D bounds)
public void reserveArea(List<Rectangle2D> reserved)
Copyright © 1996–2023 Geotools. All rights reserved.