Package com.luciad.view.gxy.labeling.algorithm.discrete
package com.luciad.view.gxy.labeling.algorithm.discrete
Handles discrete placements labeling algorithms.
ALcdGXYDiscretePlacementsLabelingAlgorithm
The main class of this package is ALcdGXYDiscretePlacementsLabelingAlgorithm
.
This class provides an abstract implementation of ILcdGXYLabelingAlgorithm. Labeling algorithms
can easily be created using this class by creating a label iterator, a label placement iterator
and a label placement evaluator. This class also has the advantage of being easy to wrap.
Implementations
This package contains a few ALcdGXYDiscretePlacementsLabelingAlgorithm implementations:
TLcdGXYLocationListLabelingAlgorithm
: This labeling algorithm tries a fixed number of custom label locations.TLcdGXYOnPathLabelingAlgorithm
: This labeling algorithm tries to place the labels on a path.TLcdGXYInPathLabelingAlgorithm
: This labeling algorithm tries to place the labels inside a (polygonal) path.TLcdGXYLabelPainterLocationLabelingAlgorithm
: This labeling algorithm tries a number of label locations and bounds that are retrieved from the layer's label painter.TLcdGXYDependantLabelsRemovalWrapper
: This labeling algorithm wrapper defines a dependency which can be used to define if labels are omitted based on the omitting of other labels.
- Since:
- 10.1
-
ClassDescriptionThis abstract class implements an abstract algorithm that can be used to compute label placements.This wrapper can be used to create a labeling algorithm wrapper based on the
ALcdGXYDiscretePlacementsLabelingAlgorithm
abstract algorithm.This interface provides methods to return paths that can be used during labeling.This composite labeling algorithm combinesALcdGXYDiscretePlacementsLabelingAlgorithm
s into one labeling algorithm.This labeling algorithm tries to find a valid position for a curved path text label.This wrapper used a dependency relation between labels to add extra behavior to the labeling.Path aware labeling algorithm.This path provider can provide paths for most supported shapes.This labeling algorithm is a greedy algorithm based on the label locations provided by each label'slabel painter
.This labeling is a greedy labeling algorithm that uses free placement (seeILcdGXYLabelPainter2
) to determine label locations.Path aware labeling algorithm.Alignment mode that determines if label are placed on, outside or inside the paths.This labeling algorithm is a greedy labeling algorithm that only tries one placement per label.