org.geotools.styling
Class LineSymbolizerImpl
Object
AbstractSymbolizer
LineSymbolizerImpl
- All Implemented Interfaces:
- Cloneable, LineSymbolizer, Symbolizer
public class LineSymbolizerImpl
- extends AbstractSymbolizer
- implements LineSymbolizer, Cloneable
Provides a representation of a LineSymbolizer in an SLD Document. A
LineSymbolizer defines how a line geometry should be rendered.
- Author:
- James Macgill, Johann Sorel (Geomatys)
- Module:
modules/library/main (gt-main.jar)
Methods inherited from interface Symbolizer |
getName, getUnitOfMeasure |
Methods inherited from interface Symbolizer |
getName, getUnitOfMeasure |
LineSymbolizerImpl
protected LineSymbolizerImpl()
- Creates a new instance of DefaultLineSymbolizer
LineSymbolizerImpl
protected LineSymbolizerImpl(Stroke stroke,
Expression offset,
Unit<Length> uom,
String geom,
String name,
Description desc)
getPerpendicularOffset
public Expression getPerpendicularOffset()
- Specified by:
getPerpendicularOffset
in interface LineSymbolizer
setPerpendicularOffset
public void setPerpendicularOffset(Expression offset)
getStroke
public StrokeImpl getStroke()
- Provides the graphical-symbolization parameter to use for the linear
geometry.
- Specified by:
getStroke
in interface LineSymbolizer
- Returns:
- The Stroke style to use when rendering lines.
setStroke
public void setStroke(Stroke stroke)
- Sets the graphical-symbolization parameter to use for the linear
geometry.
- Parameters:
stroke
- The Stroke style to use when rendering lines.
accept
public Object accept(StyleVisitor visitor,
Object data)
- Accepts a StyleVisitor to perform some operation on this LineSymbolizer.
- Specified by:
accept
in interface LineSymbolizer
- Specified by:
accept
in interface Symbolizer
- Parameters:
visitor
- The visitor to accept.
accept
public void accept(StyleVisitor visitor)
clone
public Object clone()
- Creates a deep copy clone.
- Overrides:
clone
in class Object
- Returns:
- The deep copy clone.
- Throws:
RuntimeException
- DOCUMENT ME!
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class AbstractSymbolizer
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AbstractSymbolizer
Copyright © 1996-2010 Geotools. All Rights Reserved.