question: private void checkWidth ( final int [ ] rect ) { final int x1 = rect [ 0 ] ; final int y2 = rect [ 1 ] ; final int y1 = y2 + rect [ 3 ] ; final int x2 = x1 + rect [ 2 ] ; if ( x1 < pageX1 ) { pageX1 = x1 ; } if ( x2 > pageX2 ) { pageX2 = x2 ; } if ( y1 > pageY1 ) { pageY1 = y1 ; } if ( y2 < pageY2 ) { pageY2 = y2 ; } }
target:  track actual size of shape