Package com.luciad.ogc.sld.model
Class TLcdSLDHalo
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.TLcdSLDHalo
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
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 Summary
ConstructorDescriptionEmpty constructor.TLcdSLDHalo
(TLcdDataType aDataType) Empty constructor.TLcdSLDHalo
(TLcdSLDParameterValue aRadius, TLcdSLDFill aFill) Constructor for given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetFill()
Returns the value of the property that maps to theFill
element.Returns the value of the property that maps to theRadius
element.void
setFill
(TLcdSLDFill aValue) Sets the value of the property that maps to theFill
element.void
setRadius
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theRadius
element.
-
Constructor Details
-
TLcdSLDHalo
public TLcdSLDHalo()Empty constructor. -
TLcdSLDHalo
Constructor for given parameters.- Parameters:
aRadius
- the given halo radius.aFill
- the given halo fill.
-
TLcdSLDHalo
Empty constructor.
-
-
Method Details
-
getRadius
Returns the value of the property that maps to theRadius
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
Sets the value of the property that maps to theRadius
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 theRADIUS_PROPERTY
property.
-
getFill
Returns the value of the property that maps to theFill
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
Sets the value of the property that maps to theFill
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 theFILL_PROPERTY
property.
-