FloatRect.Contains Method

SFML.Net

FloatRectContains 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(
	float x,
	float y
)
Public Function Contains ( 
	x As Single,
	y As Single
) As Boolean
public:
bool Contains(
	float x, 
	float y
)
member Contains : 
        x : float32 * 
        y : float32 -> bool 

Parameters

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

Return Value

Type: Boolean
True if the point is inside
See Also