Region.contains

Returns <code>true</code> if the point specified by the arguments is inside the area specified by the receiver, and <code>false</code> otherwise.

@param x the x coordinate of the point to test for containment @param y the y coordinate of the point to test for containment @return <code>true</code> if the region contains the point and <code>false</code> otherwise

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

  1. bool contains(int x, int y)
    class Region
    bool
    contains
    (
    int x
    ,
    int y
    )
  2. bool contains(Point pt)

Meta