public class TLcdSLDPointPlacement extends TLcdDataObject
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDPointPlacement.Builder<T>
A builder for SLD an point placement.
|
Constructor and Description |
---|
TLcdSLDPointPlacement()
Empty constructor.
|
TLcdSLDPointPlacement(TLcdDataType aDataType)
Empty constructor.
|
TLcdSLDPointPlacement(TLcdSLDParameterValue aRotation,
TLcdSLDDisplacement aDisplacement,
TLcdSLDAnchorPoint aAnchorPoint)
Constructor for given rotation, displacement and anchor point.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDAnchorPoint |
getAnchorPoint()
Returns the value of the property that maps to the
AnchorPoint element. |
TLcdSLDDisplacement |
getDisplacement()
Returns the value of the property that maps to the
Displacement element. |
TLcdSLDParameterValue |
getRotation()
Returns the value of the property that maps to the
Rotation element. |
static TLcdSLDPointPlacement.Builder<TLcdSLDPointPlacement> |
newBuilder()
Creates a new builder with the default values.
|
void |
setAnchorPoint(TLcdSLDAnchorPoint aValue)
Sets the value of the property that maps to the
AnchorPoint element. |
void |
setDisplacement(TLcdSLDDisplacement aValue)
Sets the value of the property that maps to the
Displacement element. |
void |
setRotation(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
Rotation element. |
public TLcdSLDPointPlacement()
public TLcdSLDPointPlacement(TLcdSLDParameterValue aRotation, TLcdSLDDisplacement aDisplacement, TLcdSLDAnchorPoint aAnchorPoint)
aRotation
- the given rotation.aDisplacement
- the given displacement.aAnchorPoint
- the given anchor point.public TLcdSLDPointPlacement(TLcdDataType aDataType)
public static TLcdSLDPointPlacement.Builder<TLcdSLDPointPlacement> newBuilder()
public TLcdSLDAnchorPoint getAnchorPoint()
AnchorPoint
element.
An "AnchorPoint" identifies the location inside of a text label to use an an 'anchor' for positioning it relative to a point geometry.
ANCHOR_POINT_PROPERTY
property.public void setAnchorPoint(TLcdSLDAnchorPoint aValue)
AnchorPoint
element.
An "AnchorPoint" identifies the location inside of a text label to use an an 'anchor' for positioning it relative to a point geometry.
aValue
- the value to set for the ANCHOR_POINT_PROPERTY
property.public TLcdSLDDisplacement getDisplacement()
Displacement
element.
A "Displacement" gives X and Y offset displacements to use for rendering a text label near a point.
DISPLACEMENT_PROPERTY
property.public void setDisplacement(TLcdSLDDisplacement aValue)
Displacement
element.
A "Displacement" gives X and Y offset displacements to use for rendering a text label near a point.
aValue
- the value to set for the DISPLACEMENT_PROPERTY
property.public TLcdSLDParameterValue getRotation()
Rotation
element.
The parameter should evaluate to a number in degrees, decimals are possible.
ROTATION_PROPERTY
property.public void setRotation(TLcdSLDParameterValue aValue)
Rotation
element.
The parameter should evaluate to a number in degrees, decimals are possible.
aValue
- the value to set for the ROTATION_PROPERTY
property.