public boolean intersects (float x, float y, float w, float h) {
    tx().transform(intersectionTestPoint.set(x, y), intersectionTestPoint);
    tx().transform(intersectionTestSize.set(w, h), intersectionTestSize);
    float ix = intersectionTestPoint.x, iy = intersectionTestPoint.y;
    float iw = intersectionTestSize.x, ih = intersectionTestSize.y;

    if (scissorDepth > 0) {
      Rectangle scissor = scissors.get(scissorDepth - 1);
      return scissor.intersects((int)ix, (int)iy, (int)iw, (int)ih);
    }

    float tw = target.width(), th = target.height();
    return (ix + iw > 0) && (ix < tw) && (iy + ih > 0) && (iy < th);
  }
public boolean intersects ( float x , float y , float w , float h ) { tx ( ) . transform ( intersectionTestPoint . set ( x , y ) , intersectionTestPoint ) ; tx ( ) . transform ( intersectionTestSize . set ( w , h ) , intersectionTestSize ) ; float ix = intersectionTestPoint . x , iy = intersectionTestPoint . y ; float iw = intersectionTestSize . x , ih = intersectionTestSize . y ; if ( scissorDepth > 0 ) { Rectangle scissor = scissors . get ( scissorDepth - 1 ) ; return scissor . intersects ( ( int ) ix , ( int ) iy , ( int ) iw , ( int ) ih ) ; } float tw = target . width ( ) , th = target . height ( ) ; return ( ix + iw > 0 ) && ( ix < tw ) && ( iy + ih > 0 ) && ( iy < th ) ; }
Returns whether the given rectangle intersects the render target area of this surface.