FloatRect.Intersects Method (FloatRect)

SFML.Net

FloatRectIntersects Method (FloatRect)
Check intersection between two rectangles

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public bool Intersects(
	FloatRect rect
)
Public Function Intersects ( 
	rect As FloatRect
) As Boolean
public:
bool Intersects(
	FloatRect rect
)
member Intersects : 
        rect : FloatRect -> bool 

Parameters

rect
Type: SFML.GraphicsFloatRect
Rectangle to test

Return Value

Type: Boolean
True if rectangles overlap
See Also