Package com.luciad.view.lightspeed.label.algorithm.discrete
package com.luciad.view.lightspeed.label.algorithm.discrete
Handles discrete labeling algorithms.
The main class in this package is ALspDiscreteLabelingAlgorithm. This class provides an abstract implementation of
ILspLabelingAlgorithm that makes it easier to implement, customize and compose
algorithms.
This package contains a few ALspDiscreteLabelingAlgorithm
implementations :
TLspLabelingAlgorithm: This algorithm tries a fixed number of custom label locations.TLspOnPathLabelingAlgorithm: This algorithm tries to place the labels on a path.TLspCurvedPathLabelingAlgorithm: This algorithm tries to place curved text labels on a path.TLspInPathLabelingAlgorithm: This algorithm tries to place the labels inside a (polygonal) path.TLspCompositeDiscreteLabelingAlgorithm: This algorithm can be used to composeALspDiscreteLabelingAlgorithms.TLspDependentLabelsRemovalWrapper: This algorithm wrapper defines a dependency which can be used to define if labels are omitted based on the omitting of other labels.
- Since:
- 2012.0
-
ClassDescriptionThis abstract class implements an abstract algorithm that can be used to compute label placements.This class can be used to create a labeling algorithm wrapper based on the
ALspDiscreteLabelingAlgorithmabstract algorithm.Interface that allows to evaluate a placement for a label.Placement result for a label.This composite algorithm combines multipleALspDiscreteLabelingAlgorithms into one labeling algorithm.This labeling algorithm tries to find a valid position for a curved text label on a path.This wrapper uses a dependency relation between labels to add extra behavior to the placement.Labeling algorithm that tries to place labels inside a path and keeps them inside the view.This algorithm is a greedy algorithm that uses aALspLabelLocationProviderto retrieve possible placements.Labeling algorithm that tries to place labels on path.Alignment mode that determines if labels are placed on, outside or inside the paths.