public class PolygonStyle2D extends LineStyle2D
| Modifier and Type | Field and Description |
|---|---|
protected Paint |
fill |
protected Composite |
fillComposite |
protected Style2D |
graphicFill |
contour, contourComposite, perpendicularOffset, stroke| Constructor and Description |
|---|
PolygonStyle2D() |
| Modifier and Type | Method and Description |
|---|---|
Paint |
getFill()
Returns the filling color for the polygon to
be rendered, or
null if none. |
Composite |
getFillComposite()
Returns the fill Composite for the polyline
to be rendered, or
null if the contour is to be opaque |
Style2D |
getGraphicFill()
Returns a Style2D used for filling the polygon to be rendered, or
null if none. |
void |
setFill(Paint fill)
Sets filling color for the polygon to be
rendered.
|
void |
setFillComposite(Composite fillComposite)
Sets the fill Composite for the polyline to
be rendered.
|
void |
setGraphicFill(Style2D graphicFill)
Sets a Style2D for filling the polygon to be
rendered.
|
String |
toString()
Returns a string representation of this style.
|
getContour, getContourComposite, getGraphicStroke, getPerpendicularOffset, getStroke, setContour, setContourComposite, setGraphicStroke, setPerpendicularOffset, setStrokeclone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScaleprotected Paint fill
protected Style2D graphicFill
protected Composite fillComposite
public Style2D getGraphicFill()
null if none.public void setGraphicFill(Style2D graphicFill)
null if no Style2D filling is to be performed.graphicFill - public Paint getFill()
null if none.public void setFill(Paint fill)
null if no filling is to be performed.fill - public Composite getFillComposite()
null if the contour is to be opaquepublic void setFillComposite(Composite fillComposite)
null if the contour is to be opaquefillComposite - public String toString()
toString in class LineStyle2DCopyright © 1996–2019 Geotools. All rights reserved.