eventInsideRect

fnbool eventInsideRect(int x, int y, int w, int h) nothrow @nogc @trusted

Checks if the current event is inside a rectangle.

Parameters

xRectangle X position
yRectangle Y position
wRectangle width
hRectangle height

Returns

true if the event position is inside the rectangle