public abstract class ALspStampLabelLocation extends ALspLabelLocation
This label location calculates the position and rotation
of a label.
Painters that support this location should implement ILspStampLocationLabelPainter
.
Modifier and Type | Class and Description |
---|---|
static class |
ALspStampLabelLocation.LocationData
This object describes the exact location of the anchor point and the rotation
of a label:
World offset: this offset, defined in world coordinates, is added to the anchor point
View offset: this offset, defined in pixels, is added on the screen to the projected anchor point+offset
|
Constructor and Description |
---|
ALspStampLabelLocation() |
Modifier and Type | Method and Description |
---|---|
abstract void |
getLocationData(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
ILspStampLocationLabelPainter aLabelPainter,
TLspPaintState aPaintState,
TLspContext aContext,
ALspStampLabelLocation.LocationData aLocationDataSFCT)
Calculates the
location data of the given label. |
clone, copyFrom, equals, hashCode, isEditedByEditor, isEditedByPlacer, isSticky, setEditedByEditor, setEditedByPlacer, setSticky, toString
public abstract void getLocationData(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, ILspStampLocationLabelPainter aLabelPainter, TLspPaintState aPaintState, TLspContext aContext, ALspStampLabelLocation.LocationData aLocationDataSFCT) throws TLcdNoBoundsException
location data
of the given label.aLabel
- the label for which to calculate the location data.aLabelLocations
- context information. Can be used when a label depends on an other label.aLabelPainter
- the label painter using which the location data is calculated.aPaintState
- the paint state.aContext
- the context.aLocationDataSFCT
- the LocationData
object in which the location data is stored.TLcdNoBoundsException
- when the location data could not be calculated.