public Rectangular getAreaBoundsAbsolute(int x1, int y1, int x2, int y2)
    {
        final Rectangular end = getCellBoundsAbsolute(x2, y2);
        return new Rectangular(abspos.getX1() + getColOfs(x1), abspos.getY1() + getRowOfs(y1),
                end.getX2(), end.getY2());
    }
public Rectangular getAreaBoundsAbsolute ( int x1 , int y1 , int x2 , int y2 ) { final Rectangular end = getCellBoundsAbsolute ( x2 , y2 ) ; return new Rectangular ( abspos . getX1 ( ) + getColOfs ( x1 ) , abspos . getY1 ( ) + getRowOfs ( y1 ) , end . getX2 ( ) , end . getY2 ( ) ) ; }
Computes the absolute coordinates of the specified area in the grid.
@param x1 the column index of the top left cell of the area.
@param y1 the row index of the top left cell of the area.
@param x2 the column index of the bottom right cell of the area.
@param y2 the row index of the bottom right cell of the area.
@return the absolute coordinates of the given area in pixels.