|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectStyle
Style2D
LineStyle2D
PolygonStyle2D
public class PolygonStyle2D
A style that contains the specification to renderer both the contour and the interior of a shape
| Field Summary | |
|---|---|
protected Paint |
fill
|
protected Composite |
fillComposite
|
protected Style2D |
graphicFill
|
| Fields inherited from class LineStyle2D |
|---|
contour, contourComposite, stroke |
| Fields inherited from class Style |
|---|
maxScale, minScale |
| Constructor Summary | |
|---|---|
PolygonStyle2D()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class LineStyle2D |
|---|
getContour, getContourComposite, getGraphicStroke, getStroke, setContour, setContourComposite, setGraphicStroke, setStroke |
| 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 Paint fill
protected Style2D graphicFill
protected 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 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 opaque
public void setFillComposite(Composite fillComposite)
null if the contour is to be opaque
fillComposite - public String toString()
toString in class LineStyle2D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||