public interface ILspLabelPriorityProvider
ILspLabelingAlgorithm
to control the order in which labels are placed.Modifier and Type | Method and Description |
---|---|
int |
getPriority(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext)
Returns the priority for the given label, 0 being the highest
priority, Integer.MAX_VALUE the lowest priority.
|
int getPriority(TLspLabelID aLabel, TLspPaintState aPaintState, TLspContext aContext)
aLabel
- the label for which to retrieve a priorityaPaintState
- the paint state, given as context info.aContext
- the context.