OpenTK.Graphics.Rectangle.Contains C# (CSharp) Method

Contains() public method

Contains Method
Checks if an x,y coordinate lies within this Rectangle.
public Contains ( int x, int y ) : bool
x int
y int
return bool
        public bool Contains(int x, int y)
        {
            return ((x >= Left) && (x < Right) &&
                (y >= Top) && (y < Bottom));
        }

Same methods

Rectangle::Contains ( Point pt ) : bool
Rectangle::Contains ( Rectangle rect ) : bool