|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsddl.hierarchy.Shape
sddl.hierarchy.Ellipse
public class Ellipse
This Shape represents an ellipse
Constructor Summary | |
---|---|
Ellipse()
Standard SDDL constructor |
Method Summary | |
---|---|
Ellipse |
copy()
Returns a copy of this Ellipse |
void |
draw(AbstractPoint location,
java.io.PrintWriter out)
Standard SDDL draw function. |
double |
getXradius()
Standard SDDL getter of the xradius property |
double |
getYradius()
Standard SDDL getter of the yradius property |
Path |
obtainPath()
Returns a Path describing this Ellipse |
void |
setXradius(double r)
Standard SDDL setter for xradius property |
void |
setYradius(double r)
Standard SDDL setter for yradius property |
Methods inherited from class sddl.hierarchy.Shape |
---|
isVisible, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ellipse()
Method Detail |
---|
public Ellipse copy()
copy
in class Shape
public void setXradius(double r)
r
- radius of the x axispublic void setYradius(double r)
r
- radius of the y axispublic double getXradius()
public double getYradius()
public void draw(AbstractPoint location, java.io.PrintWriter out)
Shape
draw
in class Shape
location
- The location of the Shape on the main drawingout
- The file to be written topublic Path obtainPath()
obtainPath
in class Shape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |