Rect.contains
bool contains(int px, int py) const @safe nothrow @nogcChecks if a point is inside the rectangle.
Parameters
px | X coordinate of point |
py | Y coordinate of point |
Returns
true if point is inside the rectangle
bool contains(int px, int py) const @safe nothrow @nogcChecks if a point is inside the rectangle.
px | X coordinate of point |
py | Y coordinate of point |