MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / init

Method init

Source/Node/Label.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78Label::~Label() { }
79
80bool Label::init() {
81 if (!Node::init()) return false;
82 if (!_font) {
83 setAsManaged();
84 return false;
85 }
86 return true;
87}
88
89void Label::setTextWidth(float var) {
90 if (var < 0.0f) {

Callers

nothing calls this directly

Calls 1

initFunction · 0.50

Tested by

no test coverage detected