public void union(Clip c){
  if (status == INVALID)   return;
  if (status == EMPTY) {
    setClip(c);
    status=INUSE;
    return;
  }
  clip[0]=Math.min(clip[0],c.clip[0]);
  clip[1]=Math.min(clip[1],c.clip[1]);
  clip[6]=Math.max(clip[6],c.clip[6]);
  clip[7]=Math.max(clip[7],c.clip[7]);
}

public void union ( Clip c ) { if ( status == INVALID ) return ; if ( status == EMPTY ) { setClip ( c ) ; status = INUSE ; return ; } clip [ 0 ] = Math . min ( clip [ 0 ] , c . clip [ 0 ] ) ; clip [ 1 ] = Math . min ( clip [ 1 ] , c . clip [ 1 ] ) ; clip [ 6 ] = Math . max ( clip [ 6 ] , c . clip [ 6 ] ) ; clip [ 7 ] = Math . max ( clip [ 7 ] , c . clip [ 7 ] ) ; }
union this clip with another clip . as a result , this clip will become a bounding box around the two original clips .
