Class TLcdSLDPolygonSymbolizer

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDPolygonSymbolizer extends ALcdSLDSymbolizer
A PolygonSymbolizer specifies the rendering of a polygon or area geometry, including its interior fill and border stroke.

  • Constructor Details

    • TLcdSLDPolygonSymbolizer

      public TLcdSLDPolygonSymbolizer()
      Empty constructor.
    • TLcdSLDPolygonSymbolizer

      public TLcdSLDPolygonSymbolizer(TLcdSLDStroke aStroke, TLcdSLDFill aFill, TLcdSLDGeometry aGeometry)
      Constructor for given stroke, fill and geometry.
      Parameters:
      aStroke - the given stroke.
      aFill - the given fill.
      aGeometry - the given geometry.
    • TLcdSLDPolygonSymbolizer

      public TLcdSLDPolygonSymbolizer(TLcdDataType aDataType)
      Empty constructor.
  • 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.
    • getFill

      public TLcdSLDFill getFill()
      Returns the value of the property that maps to the Fill element.

      A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".

      Returns:
      the value of the FILL_PROPERTY property.
    • setFill

      public void setFill(TLcdSLDFill aValue)
      Sets the value of the property that maps to the Fill element.

      A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".

      Parameters:
      aValue - the value to set for the FILL_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.