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, setUnitOfMeasure
getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
getName, getUnitOfMeasure
protected LineSymbolizerImpl()
protected LineSymbolizerImpl(Stroke stroke, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
public Expression getPerpendicularOffset()
LineSymbolizer
The 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 LineSymbolizer
public void setPerpendicularOffset(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 LineSymbolizer
public void setStroke(Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public Object accept(StyleVisitor visitor, Object data)
accept
in interface LineSymbolizer
accept
in interface Symbolizer
visitor
- The visitor to accept.public void accept(StyleVisitor visitor)
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!Object.clone()
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(Object obj)
equals
in class AbstractSymbolizer
Copyright © 1996–2019 Geotools. All rights reserved.