Package com.luciad.view.lightspeed.label
package com.luciad.view.lightspeed.label
Handles the placement of labels in a view.
The main interface in this package is ILspLabelPlacer
.
This interface is used to place and store label locations. It contains one implementation,
TLspLabelPlacer
, a label placer that can easily be configured
using a ALspLabelStyler
.
This package also contains other classes that are used in the ILspLabelPlacer
s
and their implementations:
TLspLabelPlacement
: a placement for a label.ILspLabelConflictChecker
: an interface that can be used to check if there are conflicts (such as overlap) between placements.ILspLabelPriorityProvider
: an interface used to assign priorities to labels. These priorities are used to influence the placement order.ILspLabelObstacleProvider
: an interface that returns obstacles for labels.
- Since:
- 2012.0
-
ClassDescriptionThis interface defines methods to check if adding label placements causes conflicts, depending on other label placement, obstacles and the view.This class represents a conflict.Provider of
TLspLabelObstacle
objects: locations where labels should not be placed.This interface defines methods to retrieve and manipulate label locations.A provider of priorities for labels.This label conflict checker implementsILcdLabelConflictChecker
by checking if a given label placements overlaps with other placements, label obstacles or the view bounds by calculating their intersection analytically.An obstacle: a location where label placement should be avoided.A label placement defines a location of a label.Default implementation ofILspLabelPlacer
.ThisILspLabelConflictChecker
does not check if placements overlap with other placements.