(point: Point | Rect)
| 147 | } |
| 148 | |
| 149 | pointEquals(point: Point | Rect): boolean { |
| 150 | return this.x === point.x && this.y === point.y; |
| 151 | } |
| 152 | |
| 153 | sizeEquals(size: Size | Rect): boolean { |
| 154 | return this.width === size.width && this.height === size.height; |