| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 | |
|---|---|
 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 | 
|---|
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 style| Method 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 halo
public 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 halopublic Stroke getStroke()
public void setStroke(Stroke stroke)
stroke - defines the stroke color and patternpublic String exportAsXML()
exportAsXML in interface Marshallable
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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://deegree.sourceforge.net