MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / clear

Method clear

source/binding/Python/maa/buffer.py:344–350  ·  view source on GitHub ↗

清空缓冲区 / Clear buffer Returns: bool: 是否成功 / Whether successful

(self)

Source from the content-addressed store, hash-verified

342 return bool(Library.framework().MaaImageBufferIsEmpty(self._handle))
343
344 def clear(self) -> bool:
345 """清空缓冲区 / Clear buffer
346
347 Returns:
348 bool: 是否成功 / Whether successful
349 """
350 return bool(Library.framework().MaaImageBufferClear(self._handle))
351
352 _api_properties_initialized: bool = False
353

Callers

nothing calls this directly

Calls 1

frameworkMethod · 0.80

Tested by

no test coverage detected