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

Method ImageObject

core/graphics/guide/GuideController.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void xg::guide::GuideController::ImageObject(const nlohmann::json &config) {
91 if(!config.is_object())
92 return;
93 auto image = xg::make_unique<xg::guide::Image>(config);
94 this->guides.push_back(std::move(image));
95}
96
97void xg::guide::GuideController::PointObject(const nlohmann::json &config) {
98 if(!config.is_object())

Callers 1

ParseObjectMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected