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

Method StrokeText

core/android/BitmapCanvasContext.cpp:338–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void BitmapCanvasContext::StrokeText(const std::string &text, float x, float y, float maxWidth) {
339 TraceCommand("StrokeText: " + text);
340 env_ = GetJniEnvSafe();
341 F2SafeCallVoidMethod(env_, canvasContext_->obj(), strokeText_, jni::StringToJavaString(env_, text).obj(), x, y);
342}
343
344std::string BitmapCanvasContext::TextAlign() const { return textAlign_; }
345

Callers

nothing calls this directly

Calls 3

GetJniEnvSafeFunction · 0.85
StringToJavaStringFunction · 0.85
objMethod · 0.45

Tested by

no test coverage detected