com.vistech.shapes
Interface Fillable

All Superinterfaces:
Drawable
All Known Implementing Classes:
Box, Ellipse

public interface Fillable
extends Drawable

Specifies a method for filling shapes drawn on a canvas.

Version:
1.0 24 July 1999
Author:
Larry Rodrigues

Fields inherited from interface com.vistech.shapes.Drawable
ANNOTEXT, ARROW, BOX, CUBIC_CURVE, CURVE, DOUBLE_HEADED_ARROW, ELLIPSE, LINE, NONE, POLYGON
 
Method Summary
 void fill(java.awt.Graphics2D g, java.awt.Color cl)
          Fills the shape with the specified color.
 
Methods inherited from interface com.vistech.shapes.Drawable
draw, drawInteractive, erase, init, move, setCurrentPosition
 

Method Detail

fill

public void fill(java.awt.Graphics2D g,
                 java.awt.Color cl)
Fills the shape with the specified color.
Parameters:
g - the graphcs context on which the shape is drawn.
cl - the filling color.