private void overwriteShapeDefault(Attributes attrs) {
		// loop through all attributes, setting appropriate values
		for (int i = 0; i < attrs.getLength(); i++) {
			if (attrs.getQName(i).equals("color"))
				shapeDef.setColor(new Color(Integer.valueOf(attrs.getValue(i),
						16)));
			else if (attrs.getQName(i).equals("thickness"))
				shapeDef.setThickness(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("fill"))
				shapeDef.setFill(Boolean.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("alpha"))
				shapeDef.setAlpha(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("filltype"))
				shapeDef.setFillType(Integer.valueOf(attrs.getValue(i)));
		}
	}