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)

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: BooleanTrue if the point is inside
