Rectangle.containsPoint

bool containsPoint(int x, int y) nothrow

Returns true if rect contains the point described by x and y.

Parameters

xX coordinate
yY coordinate

Returns

true if rect contains the point