|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.AbstractSymbolizer
org.geotools.styling.LineSymbolizerImpl
public class LineSymbolizerImpl
Provides a representation of a LineSymbolizer in an SLD Document. A LineSymbolizer defines how a line geometry should be rendered.
Field Summary |
---|
Fields inherited from class org.geotools.styling.AbstractSymbolizer |
---|
description, geometry, name, unitOfMeasure |
Constructor Summary | |
---|---|
protected |
LineSymbolizerImpl()
Creates a new instance of DefaultLineSymbolizer |
protected |
LineSymbolizerImpl(Stroke stroke,
org.opengis.filter.expression.Expression offset,
javax.measure.unit.Unit<javax.measure.quantity.Length> uom,
java.lang.String geom,
java.lang.String name,
Description desc)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
java.lang.Object |
clone()
Creates a deep copy clone. |
boolean |
equals(java.lang.Object obj)
|
org.opengis.filter.expression.Expression |
getPerpendicularOffset()
|
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the linear geometry. |
int |
hashCode()
|
void |
setPerpendicularOffset(org.opengis.filter.expression.Expression offset)
Define an offset to draw lines in parallel to the original geometry. |
void |
setStroke(org.opengis.style.Stroke stroke)
Sets the graphical-symbolization parameter to use for the linear geometry. |
java.lang.String |
toString()
|
Methods inherited from class org.geotools.styling.AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.styling.Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface org.opengis.style.Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
protected LineSymbolizerImpl()
protected LineSymbolizerImpl(Stroke stroke, org.opengis.filter.expression.Expression offset, javax.measure.unit.Unit<javax.measure.quantity.Length> uom, java.lang.String geom, java.lang.String name, Description desc)
Method Detail |
---|
public org.opengis.filter.expression.Expression getPerpendicularOffset()
getPerpendicularOffset
in interface org.opengis.style.LineSymbolizer
public void setPerpendicularOffset(org.opengis.filter.expression.Expression offset)
LineSymbolizer
offset
- Distance in UOMs to offset line; left-hand side is positive; right-hand side is
negative; the default value is 0public StrokeImpl getStroke()
getStroke
in interface org.opengis.style.LineSymbolizer
public void setStroke(org.opengis.style.Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.LineSymbolizer
accept
in interface org.opengis.style.Symbolizer
visitor
- The visitor to accept.public void accept(StyleVisitor visitor)
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.RuntimeException
- DOCUMENT ME!public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(java.lang.Object obj)
equals
in class AbstractSymbolizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |