Class TLcdSLDHalo

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

public class TLcdSLDHalo extends TLcdDataObject
A "Halo" fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.

An empty halo element corresponds to a white, 1px thick halo.

  • Constructor Details

    • TLcdSLDHalo

      public TLcdSLDHalo()
      Empty constructor.
    • TLcdSLDHalo

      public TLcdSLDHalo(TLcdSLDParameterValue aRadius, TLcdSLDFill aFill)
      Constructor for given parameters.
      Parameters:
      aRadius - the given halo radius.
      aFill - the given halo fill.
    • TLcdSLDHalo

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

    • getRadius

      public TLcdSLDParameterValue getRadius()
      Returns the value of the property that maps to the Radius element.

      The parameter is evaluated to retrieve the radius of the halo in pixels. Default value should evaluate to 1 (pixel).

      Returns:
      the value of the RADIUS_PROPERTY property.
    • setRadius

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

      The parameter is evaluated to retrieve the radius of the halo in pixels. Default value should evaluate to 1 (pixel).

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