throw new Error("not implemented");
double rX = getWidth() / 2; double rY = getHeight() / 2; double centerX = getX() + rX; double centerY = getY() + rY;  Point2D p1 = getStartPoint(); Rectangle2D result = makeBounds(p1.getX(), p1.getY(), 0, 0); result.add(getEndPoint());  if (type == PIE) result.add(centerX, centerY); if (containsAngle(0)) result.add(centerX + rX, centerY); if (containsAngle(90)) result.add(centerX, centerY - rY); if (containsAngle(180)) result.add(centerX - rX, centerY); if (containsAngle(270)) result.add(centerX, centerY + rY);  return result;
	public Rectangle2D getBounds2D() {		double extent = getAngleExtent();		if (Math.abs(extent) >= 360)			return makeBounds(getX(), getY(), getWidth(), getHeight());		// XXX Finish implementing.		throw new Error("not implemented");	}