All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.awt.draw.FilledRect

java.lang.Object
   |
   +----ncsa.awt.draw.DrawingPrimitive
           |
           +----ncsa.awt.draw.Rect
                   |
                   +----ncsa.awt.draw.FilledRect

public class FilledRect
extends Rect
A class that implements a filled rectangle drawing primitive


Constructor Index

 o FilledRect()
 o FilledRect(Rectangle)
Constructs a filled rectangle primitive that fills the given rectangle

Method Index

 o describe()
 o drawPoints(Graphics)
Draw the points for a filled rectangle in the given graphics context

Constructors

 o FilledRect
 public FilledRect()
 o FilledRect
 public FilledRect(Rectangle rect)
Constructs a filled rectangle primitive that fills the given rectangle

Parameters:
rect - the filled rectangles's bounding box.

Methods

 o drawPoints
 public void drawPoints(Graphics g)
Draw the points for a filled rectangle in the given graphics context

Parameters:
g - the graphics context
Overrides:
drawPoints in class Rect
 o describe
 public String describe()
Returns:
a string describing this rectangle
Overrides:
describe in class Rect

All Packages  Class Hierarchy  This Package  Previous  Next  Index