|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Renders the shape of a ShapeNode.
Method Summary | |
java.awt.Shape |
getPaintedArea()
Returns the area painted by this shape painter. |
java.awt.geom.Rectangle2D |
getPaintedBounds2D()
Returns the bounds of the area painted by this shape painter |
java.awt.Shape |
getShape()
Gets the shape this shape painter is associated with. |
void |
paint(java.awt.Graphics2D g2d)
Paints the specified shape using the specified Graphics2D. |
void |
setShape(java.awt.Shape shape)
Sets the Shape this shape painter is associated with. |
Method Detail |
public void paint(java.awt.Graphics2D g2d)
g2d
- the Graphics2D to usepublic java.awt.Shape getPaintedArea()
public java.awt.geom.Rectangle2D getPaintedBounds2D()
public void setShape(java.awt.Shape shape)
shape
- new shape this painter should be associated with.
Should not be null.public java.awt.Shape getShape()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |