| java.lang.Object org.geotools.renderer.style.Style org.geotools.renderer.style.Style2D org.geotools.renderer.style.LineStyle2D
All known Subclasses: org.geotools.renderer.style.PolygonStyle2D, org.geotools.renderer.style.DynamicLineStyle2D,
LineStyle2D | public class LineStyle2D extends Style2D (Code) | | A rendered style to draw the contour of shapes TODO: add support for Graphic rendering (that
is, an image painted along the contour)
author: aaime |
getContour | public Paint getContour()(Code) | | Returns the contour color for the
to be rendered, or null if none.
the current contour, or null if none |
getContourComposite | public Composite getContourComposite()(Code) | | Returns the contour Composite for the
to be rendered, or null if the contour is to be opaque
the current contour composite, or null if opaque |
getGraphicStroke | public BufferedImage getGraphicStroke()(Code) | | Getter for property graphicStroke.
Value of property graphicStroke. |
getStroke | public Stroke getStroke()(Code) | | Returns the stroke for the
to be
rendered, or null if none.
the current stroke or null if none |
setContour | public void setContour(Paint contour)(Code) | | Sets the contour color for the
to
be rendered
Parameters: contour - |
setContourComposite | public void setContourComposite(Composite contourComposite)(Code) | | Sets the contour Composite for the
to be rendered. Set it to null if the contour is to be opaque
Parameters: contourComposite - |
setGraphicStroke | public void setGraphicStroke(BufferedImage graphicStroke)(Code) | | Setter for property graphicStroke.
Parameters: graphicStroke - New value of property graphicStroke. |
setStroke | public void setStroke(Stroke stroke)(Code) | | Sets the stroke for the
to be
rendered
Parameters: stroke - The stroke, or null if the contour doesn't need to be stroked |
toString | public String toString()(Code) | | Returns a string representation of this style.
|
|
|