Package com.luciad.ogc.sld.model
Class TLcdSLDPointPlacement
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDPointPlacement
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
A point placement specifies how a text label should be rendered relative
to a geometric point.
The anchor point identifies the location inside of a text label to use as
an anchor for positioning it relatively to a point geometry.
A displacement gives X and Y offset displacements to use for rendering a text label near a point.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for SLD an point placement. -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.TLcdSLDPointPlacement(TLcdDataType aDataType) Empty constructor.TLcdSLDPointPlacement(TLcdSLDParameterValue aRotation, TLcdSLDDisplacement aDisplacement, TLcdSLDAnchorPoint aAnchorPoint) Constructor for given rotation, displacement and anchor point. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theAnchorPointelement.Returns the value of the property that maps to theDisplacementelement.Returns the value of the property that maps to theRotationelement.Creates a new builder with the default values.voidsetAnchorPoint(TLcdSLDAnchorPoint aValue) Sets the value of the property that maps to theAnchorPointelement.voidsetDisplacement(TLcdSLDDisplacement aValue) Sets the value of the property that maps to theDisplacementelement.voidsetRotation(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theRotationelement.
-
Constructor Details
-
TLcdSLDPointPlacement
public TLcdSLDPointPlacement()Empty constructor. -
TLcdSLDPointPlacement
public TLcdSLDPointPlacement(TLcdSLDParameterValue aRotation, TLcdSLDDisplacement aDisplacement, TLcdSLDAnchorPoint aAnchorPoint) Constructor for given rotation, displacement and anchor point.- Parameters:
aRotation- the given rotation.aDisplacement- the given displacement.aAnchorPoint- the given anchor point.
-
TLcdSLDPointPlacement
Empty constructor.
-
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
- Since:
- 2012.1
-
getAnchorPoint
Returns the value of the property that maps to theAnchorPointelement.An "AnchorPoint" identifies the location inside of a text label to use an an 'anchor' for positioning it relative to a point geometry.
- Returns:
- the value of the
ANCHOR_POINT_PROPERTYproperty.
-
setAnchorPoint
Sets the value of the property that maps to theAnchorPointelement.An "AnchorPoint" identifies the location inside of a text label to use an an 'anchor' for positioning it relative to a point geometry.
- Parameters:
aValue- the value to set for theANCHOR_POINT_PROPERTYproperty.
-
getDisplacement
Returns the value of the property that maps to theDisplacementelement.A "Displacement" gives X and Y offset displacements to use for rendering a text label near a point.
- Returns:
- the value of the
DISPLACEMENT_PROPERTYproperty.
-
setDisplacement
Sets the value of the property that maps to theDisplacementelement.A "Displacement" gives X and Y offset displacements to use for rendering a text label near a point.
- Parameters:
aValue- the value to set for theDISPLACEMENT_PROPERTYproperty.
-
getRotation
Returns the value of the property that maps to theRotationelement.The parameter should evaluate to a number in degrees, decimals are possible.
- Returns:
- the value of the
ROTATION_PROPERTYproperty.
-
setRotation
Sets the value of the property that maps to theRotationelement.The parameter should evaluate to a number in degrees, decimals are possible.
- Parameters:
aValue- the value to set for theROTATION_PROPERTYproperty.
-