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
Method Summary |
void |
fill(java.awt.Graphics2D g,
java.awt.Color cl)
Fills the shape with the specified color. |
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.