|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectStyle
Style2D
LineStyle2D
DynamicLineStyle2D
public class DynamicLineStyle2D
A dynamic line style, that will compute its parameters each time they are requested instead of caching them
Field Summary | |
---|---|
protected SimpleFeature |
feature
The feature that will be styled as a polygon |
protected LineSymbolizer |
ls
The line symbolizer used to get stroke/composite/... |
Fields inherited from class LineStyle2D |
---|
contour, contourComposite, stroke |
Fields inherited from class Style |
---|
maxScale, minScale |
Constructor Summary | |
---|---|
DynamicLineStyle2D(SimpleFeature feature,
LineSymbolizer sym)
Creates a new instance of DynamicLineStyle2D |
Method Summary | |
---|---|
Paint |
getContour()
Returns the contour paint |
Composite |
getContourComposite()
Computes and returns the contour style |
Stroke |
getStroke()
Computes and returns the stroke |
Methods inherited from class LineStyle2D |
---|
getGraphicStroke, setContour, setContourComposite, setGraphicStroke, setStroke, toString |
Methods inherited from class Style |
---|
clone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScale |
Methods inherited from class Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected SimpleFeature feature
protected LineSymbolizer ls
Constructor Detail |
---|
public DynamicLineStyle2D(SimpleFeature feature, LineSymbolizer sym)
Method Detail |
---|
public Stroke getStroke()
getStroke
in class LineStyle2D
public Composite getContourComposite()
getContourComposite
in class LineStyle2D
public Paint getContour()
getContour
in class LineStyle2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |