Region.intersects

Returns <code>true</code> if the given rectangle intersects with any of the polygons the receiver maintains to describe its area and <code>false</code> otherwise.

@param rect the rectangle to test for intersection @return <code>true</code> if the rectangle intersects with the receiver, and <code>false</code> otherwise

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@see Rectangle#intersects(Rectangle)

  1. bool intersects(int x, int y, int width, int height)
  2. bool intersects(Rectangle rect)
    class Region
    bool
    intersects

Meta