|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Ellipse2D
java.awt.geom.Ellipse2D.Double
edu.ucsb.cs56.S11.bpmccurdy.lab03.Circle
public class Circle
Circle extends Ellipse2D to make it easier to draw circles because the parameters to the constructor are more convenient
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.geom.Ellipse2D |
---|
java.awt.geom.Ellipse2D.Double, java.awt.geom.Ellipse2D.Float |
Field Summary |
---|
Fields inherited from class java.awt.geom.Ellipse2D.Double |
---|
height, width, x, y |
Constructor Summary | |
---|---|
Circle(double x,
double y,
double r)
Constructor for objects of class Circle |
Method Summary |
---|
Methods inherited from class java.awt.geom.Ellipse2D.Double |
---|
getBounds2D, getHeight, getWidth, getX, getY, isEmpty, setFrame |
Methods inherited from class java.awt.geom.Ellipse2D |
---|
contains, contains, equals, getPathIterator, hashCode, intersects |
Methods inherited from class java.awt.geom.RectangularShape |
---|
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Circle(double x, double y, double r)
x
- x coordinate of center of circley
- y coordinate of center of circler
- radius of circle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |