Restrict rectangle to intersection with rectangle r.
(self, r)
| 17304 | return rect.irect |
| 17305 | |
| 17306 | def intersect(self, r): |
| 17307 | """Restrict rectangle to intersection with rectangle r.""" |
| 17308 | return Rect.intersect(self, r).round() |
| 17309 | |
| 17310 | def intersects(self, x): |
| 17311 | return Rect.intersects(self, x) |