All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.awt.draw.Rect
java.lang.Object
|
+----ncsa.awt.draw.DrawingPrimitive
|
+----ncsa.awt.draw.Rect
- public class Rect
- extends DrawingPrimitive
A class that implements a Rect(angle) DrawingPrimitive
-
Rect()
-
-
Rect(Rectangle)
- Constructs a Rect that fits in the given bounding box
-
describe()
-
-
drawPoints(Graphics)
- Draws the rectangle in the given graphics context
Rect
public Rect()
Rect
public Rect(Rectangle rect)
- Constructs a Rect that fits in the given bounding box
drawPoints
public void drawPoints(Graphics g)
- Draws the rectangle in the given graphics context
- Parameters:
- g - the graphics context
- Overrides:
- drawPoints in class DrawingPrimitive
describe
public String describe()
- Returns:
- a string describing this rectangle
- Overrides:
- describe in class DrawingPrimitive
All Packages Class Hierarchy This Package Previous Next Index