/** * Tests if the interior of the <code>Shape</code> intersects the interior of a specified * rectangular area. */ public boolean intersects(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return intersects(rectangle); }
/** * Tests if the interior of the <code>Shape</code> intersects the interior * of a specified rectangular area. */ public boolean intersects(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return intersects(rectangle); }
/** * Tests if the interior of the <code>Shape</code> intersects the interior * of a specified rectangular area. */ public boolean intersects(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return intersects(rectangle); }