Class pmr.simplegraph.Circle
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.simplegraph.Circle

java.lang.Object
   |
   +----pmr.simplegraph.DrawableObject
           |
           +----pmr.simplegraph.Circle

public class Circle
extends DrawableObject
example of DrawableObject
Author:
(C) P. Murray-Rust, 1996

Constructor Index

 o Circle(int, int, int)
normal constructor ; x, y are coordinates of centre; radius of zero > 1

Method Index

 o debug()
 o display(Graphics)
used by the ScrollableTopLevel to paint the object, or can be used to draw the object to somewhere else.

Constructors

 o Circle
  public Circle(int x,
                int y,
                int radius)
normal constructor ; x, y are coordinates of centre; radius of zero > 1

Methods

 o display
  public void display(Graphics g)
used by the ScrollableTopLevel to paint the object, or can be used to draw the object to somewhere else. By using the Scaler2D approach it is possible to draw the object to any desired screen location
Overrides:
display in class DrawableObject
 o debug
  public void debug()
Overrides:
debug in class DrawableObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index