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
-
FilledRect()
-
-
FilledRect(Rectangle)
- Constructs a filled rectangle primitive that fills the given
rectangle
-
describe()
-
-
drawPoints(Graphics)
- Draw the points for a filled rectangle in the given graphics
context
FilledRect
public FilledRect()
FilledRect
public FilledRect(Rectangle rect)
- Constructs a filled rectangle primitive that fills the given
rectangle
- Parameters:
- rect - the filled rectangles's bounding box.
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
describe
public String describe()
- Returns:
- a string describing this rectangle
- Overrides:
- describe in class Rect
All Packages Class Hierarchy This Package Previous Next Index