
/**
 * Write a description of class Shape here.
 * 
 * @author Michael Rivers 
 * @version April 24th 2006
 */

import java.awt.*;
import javax.swing.*;
public class Shape
{
    // instance variables - replace the example below with your own
    protected int x;
    protected int y;
    protected int xLength;
    protected int yLength;
    protected boolean bFill;
    Color shapeColor;

    /**
     * Constructor for objects of class Shape
     */
    public Shape()
    {
        // initialise instance variables
        x = 100;
        y = 100;
        xLength=50;
        yLength=70;
        shapeColor = Color.black;
    }

    public Shape(int x, int y, int xLength, int yLength)
    {
    this.x=x;
    this.y=y;
    this.xLength=xLength;
    this.yLength=yLength;
    this.shapeColor=Color.black;
    this.bFill=false;
    }
    
    public Shape(int x, int y, int xLength, int yLength, boolean bFill)
    {
    this.x=x;
    this.y=y;
    this.xLength=xLength;
    this.yLength=yLength;
    this.shapeColor=Color.black;
    this.bFill=bFill;
    }
    
    public Shape(int x, int y, int xLength, int yLength, Color shapeColor)
    {
    this.x=x;
    this.y=y;
    this.xLength=xLength;
    this.yLength=yLength;
    this.shapeColor=shapeColor;
    this.bFill=false;
    }
    
    public Shape(int x, int y, int xLength, int yLength, Color shapeColor, boolean bFill)
    {
    this.x=x;
    this.y=y;
    this.xLength=xLength;
    this.yLength=yLength;
    this.shapeColor=shapeColor;
    this.bFill=bFill;
    }
    
    public void draw(Graphics g)
	{
	    
	   g.drawString("Item drawn here",x,y);
	    
	}
}

