- Oval(point1, point2)
- Constructs an oval in the bounding box
determined by point1 and point2.
Example: anOval = Oval(Point(1,2), Point(3,4))
- Returns a clone of the point at the center of
Example: centerPoint = anOval.getCenter()
- getP1(), getP2()
- Returns a clone of the corresponding
point used to construct the oval.
Example: cornerPoint = anOval.getP1()