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
ConstructorsConstructorDescriptionEmpty 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 theFillelement.Returns the value of the property that maps to theRadiuselement.voidsetFill(TLcdSLDFill aValue) Sets the value of the property that maps to theFillelement.voidsetRadius(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theRadiuselement.
-
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 theRadiuselement.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_PROPERTYproperty.
-
setRadius
Sets the value of the property that maps to theRadiuselement.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_PROPERTYproperty.
-
getFill
Returns the value of the property that maps to theFillelement.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_PROPERTYproperty.
-
setFill
Sets the value of the property that maps to theFillelement.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_PROPERTYproperty.
-