Class TLcdSLDPointPlacement

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDPointPlacement
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDPointPlacement extends TLcdDataObject
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.
  • 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

      public TLcdSLDPointPlacement(TLcdDataType aDataType)
      Empty constructor.
  • Method Details

    • newBuilder

      Creates a new builder with the default values.
      Returns:
      the new builder.
      Since:
      2012.1
    • getAnchorPoint

      public TLcdSLDAnchorPoint getAnchorPoint()
      Returns the value of the property that maps to the 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.

      Returns:
      the value of the ANCHOR_POINT_PROPERTY property.
    • setAnchorPoint

      public void setAnchorPoint(TLcdSLDAnchorPoint aValue)
      Sets the value of the property that maps to the 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.

      Parameters:
      aValue - the value to set for the ANCHOR_POINT_PROPERTY property.
    • getDisplacement

      public TLcdSLDDisplacement getDisplacement()
      Returns the value of the property that maps to the Displacement 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

      public void setDisplacement(TLcdSLDDisplacement aValue)
      Sets the value of the property that maps to the Displacement 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 the DISPLACEMENT_PROPERTY property.
    • getRotation

      public TLcdSLDParameterValue getRotation()
      Returns the value of the property that maps to the Rotation element.

      The parameter should evaluate to a number in degrees, decimals are possible.

      Returns:
      the value of the ROTATION_PROPERTY property.
    • setRotation

      public void setRotation(TLcdSLDParameterValue aValue)
      Sets the value of the property that maps to the Rotation element.

      The parameter should evaluate to a number in degrees, decimals are possible.

      Parameters:
      aValue - the value to set for the ROTATION_PROPERTY property.