containsPoint method

bool containsPoint(
  1. Point p
)

Returns true if this rectangle contains the point p.

Implementation

bool containsPoint(Point p) => containsXY(p.x, p.y);