* Returns whether this rectangle fully contains another rectangle. * * @param rect - The rectangle to check.
(rect: Rect)
| 109 | * @param rect - The rectangle to check. |
| 110 | */ |
| 111 | containsRect(rect: Rect): boolean { |
| 112 | return this.x <= rect.x && this.y <= rect.y && this.maxX >= rect.maxX && this.maxY >= rect.maxY; |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Returns whether the rectangle contains the given point. |
no outgoing calls
no test coverage detected