判断缓冲区是否为空 / Check if buffer is empty Returns: bool: 是否为空 / Whether empty
(self)
| 334 | |
| 335 | @property |
| 336 | def empty(self) -> bool: |
| 337 | """判断缓冲区是否为空 / Check if buffer is empty |
| 338 | |
| 339 | Returns: |
| 340 | bool: 是否为空 / Whether empty |
| 341 | """ |
| 342 | return bool(Library.framework().MaaImageBufferIsEmpty(self._handle)) |
| 343 | |
| 344 | def clear(self) -> bool: |
| 345 | """清空缓冲区 / Clear buffer |