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

Method BackgroundObject

core/graphics/guide/GuideController.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void xg::guide::GuideController::BackgroundObject(const nlohmann::json &config) {
84 if(!config.is_object())
85 return;
86 auto bg = xg::make_unique<xg::guide::Background>(config);
87 this->guides.push_back(std::move(bg));
88}
89
90void xg::guide::GuideController::ImageObject(const nlohmann::json &config) {
91 if(!config.is_object())

Callers 1

ParseObjectMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected