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

Method SetLineCap

core/android/BitmapCanvasContext.cpp:284–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void BitmapCanvasContext::SetLineCap(const std::string &lineCap) {
285 TraceCommand("SetLineCap " + lineCap);
286 env_ = GetJniEnvSafe();
287 F2SafeCallVoidMethod(env_, canvasContext_->obj(), setLineCap_, jni::StringToJavaString(env_, lineCap).obj());
288}
289
290void BitmapCanvasContext::SetLineJoin(const std::string &lineJoin) {
291 TraceCommand("SetLineJoin " + lineJoin);

Callers

nothing calls this directly

Calls 3

GetJniEnvSafeFunction · 0.85
StringToJavaStringFunction · 0.85
objMethod · 0.45

Tested by

no test coverage detected