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, toStringclone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScaleprotected SimpleFeature feature
protected LineSymbolizer ls
public DynamicLineStyle2D(SimpleFeature feature, LineSymbolizer sym)
public Stroke getStroke()
getStroke in class LineStyle2Dpublic double getPerpendicularOffset()
LineStyle2DgetPerpendicularOffset in class LineStyle2Dpublic Composite getContourComposite()
getContourComposite in class LineStyle2Dpublic Paint getContour()
getContour in class LineStyle2DCopyright © 1996–2019 Geotools. All rights reserved.