Find whether the referenced module is in an eye.
(self, row: int, col: int)
| 97 | return kind |
| 98 | |
| 99 | def is_eye(self, row: int, col: int): |
| 100 | """ |
| 101 | Find whether the referenced module is in an eye. |
| 102 | """ |
| 103 | return ( |
| 104 | (row < 7 and col < 7) |
| 105 | or (row < 7 and self.width - col < 8) |
| 106 | or (self.width - row < 8 and col < 7) |
| 107 | ) |
| 108 | |
| 109 | |
| 110 | class BaseImageWithDrawer(BaseImage): |