public boolean contains(double x, double y) {
		double rx = frameWidth / 2;
		double ry = frameHeight / 2;
		if (rx == 0 || ry == 0) return false;
		double dx = x - (getX() + rx);
		double dy = y - (getY() + ry);
		return (dx * dx) / (rx * rx) + (dy * dy) / (ry * ry) <= 1.0;
	}