Package com.luciad.ogc.sld.model
Class TLcdSLDLabelPlacement
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDLabelPlacement
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
The "LabelPlacement" specifies where and how a text label should
be rendered relative to a geometry. The present mechanism is
poorly aligned with CSS/SVG.
The placement is defined by either a point placement or a line placement, but these can not be combined.
-
Constructor Summary
ConstructorDescriptionEmpty constructor.TLcdSLDLabelPlacement
(TLcdDataType aDataType) Empty constructor.TLcdSLDLabelPlacement
(TLcdSLDLinePlacement aLinePlacement) Constructor with a given line placement.TLcdSLDLabelPlacement
(TLcdSLDPointPlacement aPointPlacement) Constructor with a given point placement. -
Method Summary
Modifier and TypeMethodDescriptionGest the line placement.Gets the point placement.void
setLinePlacement
(TLcdSLDLinePlacement aLinePlacement) Sets the line placement.void
setPointPlacement
(TLcdSLDPointPlacement aPointPlacement) Sets the point placement.
-
Constructor Details
-
TLcdSLDLabelPlacement
public TLcdSLDLabelPlacement()Empty constructor. No point are line placement is set. -
TLcdSLDLabelPlacement
Constructor with a given point placement.- Parameters:
aPointPlacement
- the given placement.
-
TLcdSLDLabelPlacement
Constructor with a given line placement.- Parameters:
aLinePlacement
- the given line placement.
-
TLcdSLDLabelPlacement
Empty constructor. No point are line placement is set.
-
-
Method Details
-
getPointPlacement
Gets the point placement.- Returns:
- the point placement.
-
setPointPlacement
Sets the point placement. Since point placement and line placement are mutually exclusive, setting a non-null point placement will nullify the line placement.- Parameters:
aPointPlacement
- the point placement.
-
getLinePlacement
Gest the line placement.- Returns:
- the line placement.
-
setLinePlacement
Sets the line placement. Since point placement and line placement are mutually exclusive, setting a non-null line placement will nullify the point placement.
-