public interface ILcdGXYLabelObstacleProvider
TLcdGXYLabelObstacle
s: locations where label placement should be avoided.Modifier and Type | Method and Description |
---|---|
List |
getLabelObstacles(Graphics aGraphics,
ILcdGXYView aGXYView)
Returns a
java.util.List with objects of type TLcdGXYLabelObstacle . |
List getLabelObstacles(Graphics aGraphics, ILcdGXYView aGXYView)
java.util.List
with objects of type TLcdGXYLabelObstacle
.aGraphics
- The graphics, provided as contextual info.aGXYView
- The view, provided as contextual info.java.util.List
with TLcdGXYLabelObstacle
objects. Implementations are allowed to return the same instance of the
list for subsequent calls, to avoid recreating the same obstacles all the
time. Therefore users of this method should not keep long term references,
nor attempt to modify the returned list or the TLcdGXYLabelObstacle
objects inside it.