Region.intersects

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

@param x the x coordinate of the origin of the rectangle @param y the y coordinate of the origin of the rectangle @param width the width of the rectangle @param height the height of the rectangle @return <code>true</code> if the rectangle intersects with the receiver, and <code>false</code> otherwise

@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)
    class Region
    bool
    intersects
    (
    int x
    ,
    int y
    ,
    int width
    ,
    int height
    )
  2. bool intersects(Rectangle rect)

Meta