Class TLcdSLDLineSymbolizer

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDLineSymbolizer extends ALcdSLDSymbolizer
A LineSymbolizer is used to render a "stroke" along a linear geometry.

  • Constructor Details

    • TLcdSLDLineSymbolizer

      public TLcdSLDLineSymbolizer()
      Constructs a line symbolizer. If the stroke is not set later, nothing should be rendered.
    • TLcdSLDLineSymbolizer

      public TLcdSLDLineSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDStroke aStroke)
      Constructs a line symbolizer with a given stroke and geometry.
      Parameters:
      aGeometry - the geometry to render.
      aStroke - the stroke to use to render the geometry, may be null in which case nothing should be rendered.
    • TLcdSLDLineSymbolizer

      public TLcdSLDLineSymbolizer(TLcdDataType aDataType)
      Constructs a line symbolizer. If the stroke is not set later, nothing should be rendered.
  • Method Details

    • newBuilder

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

      public TLcdSLDGeometry getGeometry()
      Returns the value of the property that maps to the Geometry element.

      A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.

      Returns:
      the value of the GEOMETRY_PROPERTY property.
    • setGeometry

      public void setGeometry(TLcdSLDGeometry aValue)
      Sets the value of the property that maps to the Geometry element.

      A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.

      Parameters:
      aValue - the value to set for the GEOMETRY_PROPERTY property.
    • getStroke

      public TLcdSLDStroke getStroke()
      Returns the value of the property that maps to the Stroke element.

      The stroke is optional and may thus be null.

      Returns:
      the value of the STROKE_PROPERTY property.
    • setStroke

      public void setStroke(TLcdSLDStroke aValue)
      Sets the value of the property that maps to the Stroke element.

      The stroke is optional and may thus be null.

      Parameters:
      aValue - the value to set for the STROKE_PROPERTY property.
    • getPerpendicularOffset

      public TLcdSLDParameterValue getPerpendicularOffset()
      Returns the value of the property that maps to the PerpendicularOffset element.

      A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.

      Returns:
      the value of the PERPENDICULAR_OFFSET_PROPERTY property.
    • setPerpendicularOffset

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

      A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.

      Parameters:
      aValue - the value to set for the PERPENDICULAR_OFFSET_PROPERTY property.
    • getVendorOptions

      public List<TLcdSLDVendorOption> getVendorOptions()
      Returns the value of the property that maps to the VendorOption element.
      Returns:
      the value of the VENDOR_OPTION_PROPERTY property.