Beispiel #1
0
 /**
  * Tests does Rectangle2D lie inside MultiRectArea object
  */
 public bool contains(java.awt.geom.Rectangle2D r)
 {
     return this.contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); // Basties note: easy to implement...
 }
Beispiel #2
0
 /**
  * Tests does Point2D lie inside MultiRectArea object
  */
 public bool contains(java.awt.geom.Point2D p)
 {
     return contains(p.getX(), p.getY());
 }