MCPcopy Create free account
hub / github.com/antvis/F2Native / ClearRect

Method ClearRect

core/android/BitmapCanvasContext.cpp:420–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void BitmapCanvasContext::ClearRect(float x, float y, float width, float height) {
421 TraceCommand("ClearRect " );
422 env_ = GetJniEnvSafe();
423 F2SafeCallVoidMethod(env_, canvasContext_->obj(), clearRect_, x, y, width, height);
424}
425
426void BitmapCanvasContext::FillRect(float x, float y, float width, float height) {
427 TraceCommand("FillRect " );

Callers 1

DrawMethod · 0.45

Calls 2

GetJniEnvSafeFunction · 0.85
objMethod · 0.45

Tested by

no test coverage detected