public class LineSymbolizerImpl extends AbstractSymbolizer implements LineSymbolizer, Cloneable
description, geometry, name, options, unitOfMeasure| Modifier | Constructor and Description |
|---|---|
protected |
LineSymbolizerImpl()
Creates a new instance of DefaultLineSymbolizer
|
protected |
LineSymbolizerImpl(Stroke stroke,
Expression offset,
Unit<Length> uom,
String geom,
String name,
Description desc) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer.
|
Object |
clone()
Creates a deep copy clone.
|
boolean |
equals(Object obj) |
Expression |
getPerpendicularOffset()
PerpendicularOffset allows to draw lines in parallel to the original geometry.
|
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the linear geometry.
|
int |
hashCode() |
void |
setPerpendicularOffset(Expression offset)
Define an offset to draw lines in parallel to the original geometry.
|
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the linear geometry.
|
String |
toString() |
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasuregetDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasuregetName, getUnitOfMeasureprotected LineSymbolizerImpl()
protected LineSymbolizerImpl(Stroke stroke, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
public Expression getPerpendicularOffset()
LineSymbolizerThe distance is in uoms and is positive to the left-hand side of the line string. Negative numbers mean right. The default offset is 0.
getPerpendicularOffset in interface LineSymbolizerpublic void setPerpendicularOffset(Expression offset)
LineSymbolizeroffset - 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 LineSymbolizerpublic void setStroke(Stroke stroke)
stroke - The Stroke style to use when rendering lines.public Object accept(StyleVisitor visitor, Object data)
accept in interface LineSymbolizeraccept in interface Symbolizervisitor - The visitor to accept.public void accept(StyleVisitor visitor)
public Object clone()
clone in class ObjectRuntimeException - DOCUMENT ME!Object.clone()public int hashCode()
hashCode in class AbstractSymbolizerpublic boolean equals(Object obj)
equals in class AbstractSymbolizerCopyright © 1996–2019 Geotools. All rights reserved.