MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / isEmpty

Method isEmpty

native/Base.cpp:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 }
90
91 bool Rect::isEmpty() const {
92 return this->left >= this->right || this->top >= this->bottom;
93 }
94
95 Point Rect::center() const {
96 return {(int) ((double) (this->top) + 0.5f * (double) (this->bottom - this->top)),

Callers 14

stopPackageMethod · 0.45
flushMethod · 0.45
readMethod · 0.45
getNextEventMethod · 0.45
hasEventMethod · 0.45
clearEventMethod · 0.45
getNextEventMethod · 0.45
clearEventMethod · 0.45
randomNextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected