public Rectangle2D getBounds(IRenderingElement element) {
        if (element == null) return null;
        final Bounds bounds = new Bounds(element);
        return new Rectangle2D.Double(bounds.minX, bounds.minY,
                                      bounds.width(), bounds.height());
    }
public Rectangle2D getBounds ( IRenderingElement element ) { if ( element == null ) return null ; final Bounds bounds = new Bounds ( element ) ; return new Rectangle2D . Double ( bounds . minX , bounds . minY , bounds . width ( ) , bounds . height ( ) ) ; }
Given a rendering element, traverse the elements compute required bounds
to full display all elements. The method searches for {@link Bounds}
elements which act to specify the required bounds when adjunct labels
are considered.

@param element a rendering element
@return the bounds required (null if unspecified)