/** * @return minimal bounds of this element */ public Rectangle2D getMinimalBounds() { return new Rectangle2D.Double(getX(),getY(),minWidth,minHeight); }
/** * @return bounds of this element */ public final Rectangle2D getBounds() { return new Rectangle2D.Double(getX(),getY(),getWidth(),getHeight()); }