Package com.luciad.view.gxy
Class TLcdGXYLabelObstacle
java.lang.Object
com.luciad.view.labeling.algorithm.TLcdLabelObstacle
com.luciad.view.gxy.TLcdGXYLabelObstacle
An obstacle: a location where label placement should be avoided. An obstacle
can be anything, such as for example the objects that are labeled themselves,
other important objects on the map that should not be obscured by labels, ...
An obstacle is a rotated rectangle expressed in view coordinates (pixels).
- Since:
- 7.0
-
Constructor Summary
ConstructorDescriptionConstructs a new, uninitializedTLcdGXYLabelObstacle
.TLcdGXYLabelObstacle
(int aX, int aY, int aWidth, int aHeight, double aRotation) Constructs a newTLcdGXYLabelObstacle
with the given parameters. -
Method Summary
Methods inherited from class com.luciad.view.labeling.algorithm.TLcdLabelObstacle
getHeight, getRotation, getWidth, getX, getY, setHeight, setRotation, setWidth, setX, setY
-
Constructor Details
-
TLcdGXYLabelObstacle
public TLcdGXYLabelObstacle()Constructs a new, uninitializedTLcdGXYLabelObstacle
. -
TLcdGXYLabelObstacle
public TLcdGXYLabelObstacle(int aX, int aY, int aWidth, int aHeight, double aRotation) Constructs a newTLcdGXYLabelObstacle
with the given parameters.- Parameters:
aX
- The x as inTLcdLabelObstacle.setX(int)
.aY
- The y as inTLcdLabelObstacle.setY(int)
.aWidth
- The width as inTLcdLabelObstacle.setWidth(int)
.aHeight
- The height as inTLcdLabelObstacle.setHeight(int)
.aRotation
- The rotation as inTLcdLabelObstacle.setRotation(double)
.
-