|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.graphics.sld.Halo_Impl
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.
| Field Summary | |
private Fill |
fill
|
private ParameterValueType |
radius
|
private Stroke |
stroke
|
| Constructor Summary | |
(package private) |
Halo_Impl(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 |
| Field Detail |
private Fill fill
private ParameterValueType radius
private Stroke stroke
| Constructor Detail |
Halo_Impl(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()
getFill in interface Halopublic void setFill(Fill fill)
setFill in interface Halofill - defines the fill color and patternpublic ParameterValueType getRadius()
getRadius in interface Halopublic void setRadius(ParameterValueType radius)
setRadius in interface Haloradius - radius to be used for the halo, use null for a rectangle
styled halo
public double getRadius(Feature feature)
throws FilterEvaluationException
getRadius in interface Halofeature - specifies the Feature to be used for evaluation
of the underlying 'sld:ParameterValueType'
FilterEvaluationException - if the evaluation failspublic void setRadius(double radius)
setRadius in interface Haloradius - radius to be set for the halopublic Stroke getStroke()
getStroke in interface Halopublic void setStroke(Stroke stroke)
setStroke in interface Halostroke - defines the stroke color and patternpublic java.lang.String exportAsXML()
exportAsXML in interface Marshallable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||