containsRectangle method

bool containsRectangle(
  1. PRectangle r
)

Returns true if this rectangle contains the rectangle r.

Implementation

bool containsRectangle(PRectangle r) => contains(r.x, r.y, r.width, r.height);