fullyContains method

bool fullyContains(
  1. Rect other
)

Implementation

bool fullyContains(Rect other) {
  return contains(other.topLeft) &&
      contains(other.topRight) &&
      contains(other.bottomLeft) &&
      contains(other.bottomRight);
}