public void setFillColor(Color color) {
		if (regionStarted) {
			throw new ErrorException("It is illegal to change the fill color while you are " +
			                         "defining a filled region.");
		}
		fillColor = color;
	}