|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdiva.canvas.AbstractFigure
diva.canvas.toolbox.BasicFigure
diva.canvas.toolbox.BasicEllipse
A figure that displays as an ellipse. This is a convenience class for creating ellipses. It inherits from BasicFigure, and so contains a single Ellipse2D as its shape. It provides a useful set of constructors.
| Constructor Summary | |
BasicEllipse(double x,
double y,
double width,
double height)
Create a new ellipse with the given origin and size, a unit-width continuous stroke and no paint pattern. |
|
BasicEllipse(double x,
double y,
double width,
double height,
float lineWidth)
Create a new ellipse with the given origin, size, and outline width. |
|
BasicEllipse(double x,
double y,
double width,
double height,
java.awt.Paint fill)
Create a new ellipse with the given origin, size, and fill paint. |
|
BasicEllipse(double x,
double y,
double width,
double height,
java.awt.Paint fill,
float lineWidth)
Create a new ellipse with the given origin, size, fill, and outline width. |
|
BasicEllipse(java.awt.geom.Ellipse2D ellipse)
Create a new ellipse with the given ellipse shape, a unit-width continuous stroke and no paint pattern. |
|
| Methods inherited from class diva.canvas.toolbox.BasicFigure |
getBounds, getComposite, getDashArray, getFillPaint, getLineWidth, getOrigin, getShape, getStrokePaint, hit, isCentered, paint, setCentered, setComposite, setDashArray, setFillPaint, setLineWidth, setPrototypeShape, setShape, setStroke, setStrokePaint, transform |
| Methods inherited from class diva.canvas.AbstractFigure |
contains, getInteractor, getLayer, getParent, getToolTipText, getTransformContext, getUserObject, intersects, isVisible, paint, repaint, repaint, setInteractor, setParent, setToolTipText, setUserObject, setVisible, translate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface diva.canvas.Figure |
contains, getInteractor, getLayer, getParent, getToolTipText, intersects, setInteractor, setParent, setToolTipText, translate |
| Methods inherited from interface diva.canvas.VisibleComponent |
isVisible, paint, setVisible |
| Methods inherited from interface diva.canvas.CanvasComponent |
getTransformContext, repaint, repaint |
| Methods inherited from interface diva.util.UserObjectContainer |
getUserObject, setUserObject |
| Constructor Detail |
public BasicEllipse(java.awt.geom.Ellipse2D ellipse)
public BasicEllipse(double x,
double y,
double width,
double height)
public BasicEllipse(double x,
double y,
double width,
double height,
java.awt.Paint fill)
public BasicEllipse(double x,
double y,
double width,
double height,
float lineWidth)
public BasicEllipse(double x,
double y,
double width,
double height,
java.awt.Paint fill,
float lineWidth)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||