|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.renderer.style.Style
org.geotools.renderer.style.Style2D
org.geotools.renderer.style.LineStyle2D
org.geotools.renderer.style.PolygonStyle2D
public class PolygonStyle2D
A style that contains the specification to renderer both the contour and the interior of a shape
Field Summary | |
---|---|
protected java.awt.Paint |
fill
|
protected java.awt.Composite |
fillComposite
|
protected Style2D |
graphicFill
|
Fields inherited from class org.geotools.renderer.style.LineStyle2D |
---|
contour, contourComposite, stroke |
Fields inherited from class org.geotools.renderer.style.Style |
---|
maxScale, minScale |
Constructor Summary | |
---|---|
PolygonStyle2D()
|
Method Summary | |
---|---|
java.awt.Paint |
getFill()
Returns the filling color for the polygon to be rendered, or null if none. |
java.awt.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(java.awt.Paint fill)
Sets filling color for the polygon to be rendered. |
void |
setFillComposite(java.awt.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. |
java.lang.String |
toString()
Returns a string representation of this style. |
Methods inherited from class org.geotools.renderer.style.LineStyle2D |
---|
getContour, getContourComposite, getGraphicStroke, getStroke, setContour, setContourComposite, setGraphicStroke, setStroke |
Methods inherited from class org.geotools.renderer.style.Style |
---|
getMaxScale, getMinScale, isScaleInRange, setMinMaxScale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.awt.Paint fill
protected Style2D graphicFill
protected java.awt.Composite fillComposite
Constructor Detail |
---|
public PolygonStyle2D()
Method Detail |
---|
public Style2D getGraphicFill()
null
if none.
public void setGraphicFill(Style2D graphicFill)
null
if no Style2D filling is to be performed.
graphicFill
- public java.awt.Paint getFill()
null
if none.
public void setFill(java.awt.Paint fill)
null
if no filling is to be performed.
fill
- public java.awt.Composite getFillComposite()
null
if the contour is to be opaque
public void setFillComposite(java.awt.Composite fillComposite)
null
if the contour is to be opaque
fillComposite
- public java.lang.String toString()
toString
in class LineStyle2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |