public class TLcdGXYSinglePlacementLabelingAlgorithm extends TLcdGXYLabelPainterLocationLabelingAlgorithm
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.
Constructor and Description |
---|
TLcdGXYSinglePlacementLabelingAlgorithm() |
Modifier and Type | Method and Description |
---|---|
TLcdGXYSinglePlacementLabelingAlgorithm |
clone()
Makes
Object.clone() public. |
collectLabelInfo, createLabelIterator, createLabelPlacementEvaluator, createLabelPlacementIterator, getForcedPaintingThresholdPriority, getLabelPriorityProvider, setForcedPaintingThresholdPriority, setLabelPriorityProvider
computeLabelPlacements
public TLcdGXYSinglePlacementLabelingAlgorithm()
public TLcdGXYSinglePlacementLabelingAlgorithm clone()
ILcdCloneable
Makes Object.clone()
public.
java.lang.Object
, it can be implemented like this:
public Object clone() {
try {
return super.clone();
} catch ( CloneNotSupportedException e ) {
// Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
throw new RuntimeException( e );
}
}
clone
in interface ILcdCloneable
clone
in class TLcdGXYLabelPainterLocationLabelingAlgorithm
Object.clone()