Class TLcdGXYSinglePlacementLabelingAlgorithm

All Implemented Interfaces:
ILcdCloneable, ILcdGXYLabelingAlgorithm, Cloneable

public class TLcdGXYSinglePlacementLabelingAlgorithm extends TLcdGXYLabelPainterLocationLabelingAlgorithm
This labeling algorithm is a greedy labeling algorithm that only tries one placement per label. It tries to place all labels at location index 0, unless a label is sticky or edited by a label editor.

This algorithm also uses a forced painting threshold priority to force labels to be placed, even if they overlap with other labels, see TLcdGXYLabelPainterLocationLabelingAlgorithm.setForcedPaintingThresholdPriority(int).

The implementation of this labeling algorithm is thread-safe if the set label priority provider is thread-safe.

Since:
10.1
  • Constructor Details

    • TLcdGXYSinglePlacementLabelingAlgorithm

      public TLcdGXYSinglePlacementLabelingAlgorithm()
  • Method Details