next up previous
Next: Rectangle Methods Up: Graphics Objects Previous: Line Methods


Circle Methods

Circle(centerPoint, radius)
Constructs a circle with given center point and radius.
getCenter()
Returns a clone of the center point of the circle.
getRadius()
Returns the radius of the circle.
getP1(), getP2()
Returns a clone of the corresponding corner of the circle's bounding box. These are opposite corner points of a square that circumscribes the circle.


John Zelle 2006-09-04