|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Incarnation of a sld:Halo-element. A Halo is a type of Fill that is applied to the backgrounds of font glyphs. The use of halos greatly improves the readability of text labels.
Method Summary | |
Fill |
getFill()
A Fill allows area geometries to be filled. |
ParameterValueType |
getRadius()
The Radius element gives the absolute size of a halo radius in pixels encoded as a floating-point number. |
double |
getRadius(Feature feature)
The Radius element gives the absolute size of a halo radius in pixels encoded as a floating-point number. |
Stroke |
getStroke()
Returns the underlying Stroke-instance used to draw the boundary of the halo. |
void |
setFill(Fill fill)
Sets the Fill for the Halo. |
void |
setRadius(double radius)
|
void |
setRadius(ParameterValueType radius)
Sets the Radius for the Halo. |
void |
setStroke(Stroke stroke)
Sets the Stroke for the Halo. |
Method Detail |
public Fill getFill()
public void setFill(Fill fill)
fill
- defines the fill color and patternpublic Stroke getStroke()
public void setStroke(Stroke stroke)
stroke
- defines the stroke color and patternpublic ParameterValueType getRadius()
public void setRadius(ParameterValueType radius)
radius
- radius to be used for the halo, use null for a rectangle
styled halopublic double getRadius(Feature feature) throws FilterEvaluationException
feature
- specifies the Feature to be used for evaluation
of the underlying 'sld:ParameterValueType'
FilterEvaluationException
- if the evaluation failspublic void setRadius(double radius)
radius
- radius to be set for the halo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |