Lines Matching refs:contains
1036 * rectangle contains only the part of this <code>Arc2D</code> that is
1037 * in between the starting and ending angles and contains the pie
1145 * @return <CODE>true</CODE> if the arc contains the angle,
1182 public boolean contains(double x, double y) {
1330 if (contains(x, y) || contains(x + w, y) ||
1331 contains(x, y + h) || contains(x + w, y + h)) {
1339 * Determines whether or not the interior of the arc entirely contains
1347 * @return <CODE>true</CODE> if the arc contains the rectangle,
1351 public boolean contains(double x, double y, double w, double h) {
1352 return contains(x, y, w, h, null);
1356 * Determines whether or not the interior of the arc entirely contains
1361 * @return <CODE>true</CODE> if the arc contains the rectangle,
1365 public boolean contains(Rectangle2D r) {
1366 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight(), r);
1369 private boolean contains(double x, double y, double w, double h,
1371 if (!(contains(x, y) &&
1372 contains(x + w, y) &&
1373 contains(x, y + h) &&
1374 contains(x + w, y + h))) {