public boolean setBounds(double x, double y, double width, double height) {
		if (super.setBounds(x, y, width, height)) {
			if (shape == ELLIPSE)
				ellipse.setFrame(x, y, width, height);
			else if (shape == RECTANGLE)
				rectangle.setFrame(x, y, width, height);
			else
				assert false;

			return true;
		}
		return false;
	}