org.deegree.graphics.sld
Interface LineSymbolizer

All Superinterfaces:
Symbolizer
All Known Implementing Classes:
LineSymbolizer_Impl

public interface LineSymbolizer
extends Symbolizer

Used to render a "stroke" along a linear geometry. If a point geometry is used, it should be interpreted as a line of zero length and two end caps. If a polygon is used, then its closed outline is used as the line string (with no end caps). A missing Geometry element selects the default geometry. A missing Stroke element means that nothing will be plotted.

----------------------------------------------------------------------

Version:
$Revision: 1.2 $ $Date: 2004/01/12 14:48:13 $
Author:
Andreas Poth

Method Summary
 Stroke getStroke()
          A Stroke allows a string of line segments (or any linear geometry) to be rendered.
 void setStroke(Stroke stroke)
          Sets the Stroke.
 
Methods inherited from interface org.deegree.graphics.sld.Symbolizer
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator
 

Method Detail

getStroke

public Stroke getStroke()
A Stroke allows a string of line segments (or any linear geometry) to be rendered. There are three basic types of strokes: solid Color, GraphicFill (stipple), and repeated GraphicStroke. A repeated graphic is plotted linearly and has its graphic symbol bended around the curves of the line string. The default is a solid black line (Color "#000000").

Returns:
the Stroke

setStroke

public void setStroke(Stroke stroke)
Sets the Stroke.

Parameters:
stroke - the Stroke