Opus5
Class Circle

java.lang.Object
  |
  +--Opus5.GraphicalObject
        |
        +--Opus5.Circle
All Implemented Interfaces:
GraphicsPrimitives

public class Circle
extends GraphicalObject

A circular graphical object.

Version:
$Id: Circle.java,v 3.1 1998/07/28 01:32:17 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.
See Also:
GraphicalObject

Fields inherited from class Opus5.GraphicalObject
backgroundColor, center, foregroundColor
 
Fields inherited from interface Opus5.GraphicsPrimitives
copyright
 
Constructor Summary
Circle(Point p, int r)
          Constructs a Circle with the specified center point and radius.
 
Method Summary
 void draw()
          Draws this circle.
 
Methods inherited from class Opus5.GraphicalObject
erase, moveTo, setPenColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Circle

public Circle(Point p,
              int r)
Constructs a Circle with the specified center point and radius.
Parameters:
p - The center point of this circle.
Method Detail

draw

public void draw()
Draws this circle. This method is not implemented.
Overrides:
draw in class GraphicalObject