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
-
Circle(int, int, int)
- normal constructor ; x, y are coordinates of centre; radius of zero > 1
-
debug()
-
-
display(Graphics)
- used by the ScrollableTopLevel to paint the object, or can be used to
draw the object to somewhere else.
Circle
public Circle(int x,
int y,
int radius)
- normal constructor ; x, y are coordinates of centre; radius of zero > 1
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
debug
public void debug()
- Overrides:
- debug in class DrawableObject
All Packages Class Hierarchy This Package Previous Next Index