eventInsideRect
fn
bool eventInsideRect(int x, int y, int w, int h) nothrow @nogc @trustedChecks if the current event is inside a rectangle.
Parameters
x | Rectangle X position |
y | Rectangle Y position |
w | Rectangle width |
h | Rectangle height |
Returns
true if the event position is inside the rectangle