afreechart/src/main/java/org/afree/chart/axis/AxisSpace.java
/**
     * Expands an area by the amount of space represented by this object.
     * 
     * @param area
     *            the area to expand.
     * @param result
     *            an optional carrier for the result.
     * 
     * @return The result.
     */
Expands an area by the amount of space represented by this object.

@param area
the area to expand.
@param result
an optional carrier for the result.

@return The result.
Expands an area by the amount of space represented by this object . @param area the area to expand . @param result an optional carrier for the result . @return The result .
public RectShape expand(RectShape area, RectShape result) {
        if (result == null) {
            result = new RectShape();
        }
        result.setRect(area.getX() - this.left, area.getY() - this.top, area
                .getWidth()
                + this.left + this.right, area.getHeight() + this.top
                + this.bottom);
        return result;
    }
public RectShape expand ( RectShape area , RectShape result ) { if ( result == null ) { result = new RectShape ( ) ; } result . setRect ( area . getX ( ) - this . left , area . getY ( ) - this . top , area . getWidth ( ) + this . left + this . right , area . getHeight ( ) + this . top + this . bottom ) ; return result ; }
Expands an area by the amount of space represented by this object.
Expands an area by the amount of space represented by this object .