public void addRectangle(String id, int x, int y, int width, int height, int fill, String text, Font font, Color textcolor) {
		
		identity.add(id);
		
		attrib_bounds = new int[6];
		attrib_bounds[0] = RECT;        //Shape ID
		attrib_bounds[1] = x;           //X co-ord
		attrib_bounds[2] = y;           //Y co-ord
		attrib_bounds[3] = width;       //Width
		attrib_bounds[4] = height;      //Height
		attrib_bounds[5] = fill;        //Fill or Hollow
		bounds.add(attrib_bounds);
		
		attrib_colors = new Color[2];
		attrib_colors[0] = Color.BLACK; //Color
		attrib_colors[1] = textcolor;   //Textcolor
		colors.add(attrib_colors);
		
		texts.add(text);                //Text
		fonts.add(font);                //Font
		
	}