public class LineStyle2D extends Style2D
| Modifier and Type | Field and Description |
|---|---|
protected Paint |
contour |
protected Composite |
contourComposite |
protected double |
perpendicularOffset |
protected Stroke |
stroke |
| Constructor and Description |
|---|
LineStyle2D() |
| Modifier and Type | Method and Description |
|---|---|
Paint |
getContour()
Returns the contour color for the polyline
to be rendered, or
null if none. |
Composite |
getContourComposite()
Returns the contour Composite for the polyline to be rendered, or
null if the contour is to be opaque |
Style2D |
getGraphicStroke()
Getter for property graphicStroke.
|
double |
getPerpendicularOffset()
Returns the perpendicular offset value for this style
|
Stroke |
getStroke()
Returns the stroke for the polyline to be
rendered, or
null if none. |
void |
setContour(Paint contour)
Sets the contour color for the polyline to
be rendered
|
void |
setContourComposite(Composite contourComposite)
Sets the contour Composite for the polyline
to be rendered.
|
void |
setGraphicStroke(Style2D graphicStroke)
Setter for property graphicStroke.
|
void |
setPerpendicularOffset(double perpendicularOffset)
Sets the perpendicular offset value for this style
|
void |
setStroke(Stroke stroke)
Sets the stroke for the polyline to be
rendered
|
String |
toString()
Returns a string representation of this style.
|
clone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScaleprotected Paint contour
protected Stroke stroke
protected Composite contourComposite
protected double perpendicularOffset
public Stroke getStroke()
null if none.public void setStroke(Stroke stroke)
stroke - The stroke, or null if the contour doesn't need to be strokedpublic Paint getContour()
null if none.public void setContour(Paint contour)
contour - public Composite getContourComposite()
null if the contour is to be opaquepublic void setContourComposite(Composite contourComposite)
null if the contour is to be opaquecontourComposite - public Style2D getGraphicStroke()
public void setGraphicStroke(Style2D graphicStroke)
graphicStroke - New value of property graphicStroke.public double getPerpendicularOffset()
public void setPerpendicularOffset(double perpendicularOffset)
perpendicularOffset - The offset, positive on the left side of the lineCopyright © 1996–2019 Geotools. All rights reserved.