IntRect.Contains Method

SFML.Net

IntRectContains Method
Check if a point is inside the rectangle's area

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public bool Contains(
	int x,
	int y
)
Public Function Contains ( 
	x As Integer,
	y As Integer
) As Boolean
public:
bool Contains(
	int x, 
	int y
)
member Contains : 
        x : int * 
        y : int -> bool 

Parameters

x
Type: SystemInt32
X coordinate of the point to test
y
Type: SystemInt32
Y coordinate of the point to test

Return Value

Type: Boolean
True if the point is inside
See Also