public class DynamicLineStyle2D extends LineStyle2D
Modifier and Type | Field and Description |
---|---|
protected SimpleFeature |
feature
The feature that will be styled as a polygon
|
protected LineSymbolizer |
ls
The line symbolizer used to get stroke/composite/...
|
contour, contourComposite, perpendicularOffset, stroke
Constructor and Description |
---|
DynamicLineStyle2D(SimpleFeature feature,
LineSymbolizer sym)
Creates a new instance of DynamicLineStyle2D
|
Modifier and Type | Method and Description |
---|---|
Paint |
getContour()
Returns the contour paint
|
Composite |
getContourComposite()
Computes and returns the contour style
|
double |
getPerpendicularOffset()
Returns the perpendicular offset value for this style
|
Stroke |
getStroke()
Computes and returns the stroke
|
getGraphicStroke, setContour, setContourComposite, setGraphicStroke, setPerpendicularOffset, setStroke, toString
clone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScale
protected SimpleFeature feature
protected LineSymbolizer ls
public DynamicLineStyle2D(SimpleFeature feature, LineSymbolizer sym)
public Stroke getStroke()
getStroke
in class LineStyle2D
public double getPerpendicularOffset()
LineStyle2D
getPerpendicularOffset
in class LineStyle2D
public Composite getContourComposite()
getContourComposite
in class LineStyle2D
public Paint getContour()
getContour
in class LineStyle2D
Copyright © 1996–2019 Geotools. All rights reserved.