|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.sld.Halo
public class Halo
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.
Constructor Summary | |
---|---|
Halo(ParameterValueType radius,
Fill fill,
Stroke stroke)
Create a new Halo -instance. |
Method Summary | |
---|---|
java.lang.String |
exportAsXML()
exports the content of the Halo as XML formated String |
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. |
void |
setFill(Fill fill)
Sets the underlying Fill -instance. |
void |
setRadius(double radius)
|
void |
setRadius(ParameterValueType radius)
Sets the value for the radius of the halo. |
void |
setStroke(Stroke stroke)
Sets the underlying Stroke -instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Halo(ParameterValueType radius, Fill fill, Stroke stroke)
radius
- radius to be used for the halo, use null for a rectangle styled halofill
- defines the fill style, use null for default stylestroke
- defines the stroke style, use null for default styleMethod Detail |
---|
public Fill getFill()
public void setFill(Fill fill)
fill
- defines the fill 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
public Stroke getStroke()
public void setStroke(Stroke stroke)
stroke
- defines the stroke color and patternpublic java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org