public void setShape(String id, int type) {
		
		for(int i=0;i<identity.size();i++) {
			if(identity.get(i).contains(id)) {
				
				attrib_bounds = new int[6];
				attrib_bounds[0] = type;             //Shape ID
				attrib_bounds[1] = bounds.get(i)[1]; //X co-ord
				attrib_bounds[2] = bounds.get(i)[2]; //Y co-ord
				attrib_bounds[3] = bounds.get(i)[3]; //Width
				attrib_bounds[4] = bounds.get(i)[4]; //Height
				attrib_bounds[5] = bounds.get(i)[5]; //Fill or Hollow
				bounds.set(i, attrib_bounds);
				
			}
		}
		
	}