|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcckit.graphic.BasicGraphicalElement jcckit.graphic.Rectangle jcckit.graphic.Oval
An oval (i.e. an ellipse).
Constructor Summary | |
Oval(GraphPoint center,
double width,
double height,
GraphicAttributes attributes)
Creates a new instance. |
Method Summary | |
void |
renderWith(Renderer renderer)
Renders this oval with the specified Renderer . |
Methods inherited from class jcckit.graphic.Rectangle |
getCenter, getHeight, getWidth |
Methods inherited from class jcckit.graphic.BasicGraphicalElement |
getGraphicAttributes, isClosed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Oval(GraphPoint center, double width, double height, GraphicAttributes attributes)
center
- The position of the center of this element.width
- The width.height
- The height.attributes
- Drawing attributes. Can be null.Method Detail |
public void renderWith(Renderer renderer)
Renderer
.
renderWith
in interface GraphicalElement
renderWith
in class Rectangle
renderer
- An instance of OvalRenderer
.
java.lang.IllegalArgumentException
- if renderer is not
an instance of OvalRenderer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |