Interface ILcdGXYLabelObstacleProvider

All Known Implementing Classes:
TLcdGXYCompositeLabelObstacleProvider

public interface ILcdGXYLabelObstacleProvider
Provider of TLcdGXYLabelObstacles: locations where label placement should be avoided.
Since:
7.0
  • Method Details

    • getLabelObstacles

      List getLabelObstacles(Graphics aGraphics, ILcdGXYView aGXYView)
      Returns a java.util.List with objects of type TLcdGXYLabelObstacle.
      Parameters:
      aGraphics - The graphics, provided as contextual info.
      aGXYView - The view, provided as contextual info.
      Returns:
      The 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.