/** Tests if the specified coordinates are inside the boundary of the <code>Shape</code>. */ public boolean contains(double x, double y) { point.x = x; point.y = y; return contains(point); }
/** * Tests if the interior of the <code>Shape</code> entirely contains the specified rectangular * area. */ public boolean contains(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return contains(rectangle); }
/** * Tests if the specified coordinates are inside the boundary of the * <code>Shape</code>. */ public boolean contains(double x, double y) { point.x = x; point.y = y; return contains(point); }
/** * Tests if the specified coordinates are inside the boundary of the * <code>Shape</code>. */ public boolean contains(double x, double y) { point.x = x; point.y = y; return contains(point); }
/** * Tests if the interior of the <code>Shape</code> entirely contains the * specified rectangular area. */ public boolean contains(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return contains(rectangle); }
/** * Tests if the interior of the <code>Shape</code> entirely contains the * specified rectangular area. */ public boolean contains(double x, double y, double width, double height) { rectangle.x = x; rectangle.y = y; rectangle.width = width; rectangle.height = height; return contains(rectangle); }