afreechart/src/main/java/org/afree/ui/RectangleInsets.java
/*
     * Shrinks the given RectShape by the amount of these insets.
     * 
     * @param area the area (<code>null</code> not permitted).
     */
Shrinks the given RectShape by the amount of these insets.

@param area the area (null not permitted).
Shrinks the given RectShape by the amount of these insets . @param area the area ( null not permitted ) .
public void trim(final RectShape area) {
        final double w = area.getWidth();
        final double h = area.getHeight();
        final double l = calculateLeftInset(w);
        final double r = calculateRightInset(w);
        final double t = calculateTopInset(h);
        final double b = calculateBottomInset(h);
        area.setRect(area.getX() + l, area.getY() + t, w - l - r, h - t - b);
    }
public void trim ( final RectShape area ) { final double w = area . getWidth ( ) ; final double h = area . getHeight ( ) ; final double l = calculateLeftInset ( w ) ; final double r = calculateRightInset ( w ) ; final double t = calculateTopInset ( h ) ; final double b = calculateBottomInset ( h ) ; area . setRect ( area . getX ( ) + l , area . getY ( ) + t , w - l - r , h - t - b ) ; }
Shrinks the given RectShape by the amount of these insets.
Shrinks the given RectShape by the amount of these insets .