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

Method LineObject

core/graphics/guide/GuideController.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void xg::guide::GuideController::LineObject(const nlohmann::json &config) {
77 if(!config.is_object())
78 return;
79 auto line = xg::make_unique<xg::guide::Line>(config);
80 this->guides.push_back(std::move(line));
81}
82
83void xg::guide::GuideController::BackgroundObject(const nlohmann::json &config) {
84 if(!config.is_object())

Callers 1

ParseObjectMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected