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
Modifier and TypeClassDescriptionstatic class
A builder for SLD an point placement. -
Constructor Summary
ConstructorDescriptionEmpty 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 theAnchorPoint
element.Returns the value of the property that maps to theDisplacement
element.Returns the value of the property that maps to theRotation
element.Creates a new builder with the default values.void
setAnchorPoint
(TLcdSLDAnchorPoint aValue) Sets the value of the property that maps to theAnchorPoint
element.void
setDisplacement
(TLcdSLDDisplacement aValue) Sets the value of the property that maps to theDisplacement
element.void
setRotation
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theRotation
element.
-
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 theAnchorPoint
element.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_PROPERTY
property.
-
setAnchorPoint
Sets the value of the property that maps to theAnchorPoint
element.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_PROPERTY
property.
-
getDisplacement
Returns the value of the property that maps to theDisplacement
element.A "Displacement" gives X and Y offset displacements to use for rendering a text label near a point.
- Returns:
- the value of the
DISPLACEMENT_PROPERTY
property.
-
setDisplacement
Sets the value of the property that maps to theDisplacement
element.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_PROPERTY
property.
-
getRotation
Returns the value of the property that maps to theRotation
element.The parameter should evaluate to a number in degrees, decimals are possible.
- Returns:
- the value of the
ROTATION_PROPERTY
property.
-
setRotation
Sets the value of the property that maps to theRotation
element.The parameter should evaluate to a number in degrees, decimals are possible.
- Parameters:
aValue
- the value to set for theROTATION_PROPERTY
property.
-