/** * 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... }