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

Method TextObject

core/graphics/guide/GuideController.cpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void xg::guide::GuideController::TextObject(const nlohmann::json &config) {
70 if(!config.is_object())
71 return;
72 auto text = xg::make_unique<xg::guide::Text>(config);
73 this->guides.push_back(std::move(text));
74}
75
76void xg::guide::GuideController::LineObject(const nlohmann::json &config) {
77 if(!config.is_object())

Callers 1

ParseObjectMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected