|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsddl.hierarchy.Shape
sddl.hierarchy.Circle
public class Circle
This Shape represents a Circle
| Constructor Summary | |
|---|---|
Circle()
Standard SDDL constructor |
|
Circle(double radius)
Java-only constructor |
|
| Method Summary | |
|---|---|
Circle |
copy()
Returns a copy of this Circle |
void |
draw(AbstractPoint location,
java.io.PrintWriter out)
Standard SDDL draw function. |
RefPoint |
getAnglePoint(Drawing d,
double angle)
Returns the point of the circle at angle angle |
double |
getRadius()
Standard SDDL getter for the radius property |
Path |
obtainPath()
Returns a Path describing the Circle |
void |
setRadius(double radius)
Standard SDDL setter for the radius 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 Circle()
public Circle(double radius)
radius - Radius of the circle| Method Detail |
|---|
public Circle copy()
copy in class Shapepublic void setRadius(double radius)
radius - Radius of the circlepublic double getRadius()
public RefPoint getAnglePoint(Drawing d,
double angle)
d - Drawing from which the shape has been usedangle - Angle of the point to be found
public void draw(AbstractPoint location,
java.io.PrintWriter out)
Shape
draw in class Shapelocation - 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 | ||||||||