int getShapePropertyAsInt(int shapeID, String propertyName) {
		Object value = getShapeProperty(shapeID, propertyName);
		return value == null || !(value instanceof Integer) ? Integer.MIN_VALUE : ((Integer) value).intValue();
	}