32 namespace visualization {
40 explicit Label(
const char* text =
nullptr);
56 std::unique_ptr<Impl> impl_;
void SetTextColor(const Color &color)
Definition: Label.cpp:76
Label(const char *text=nullptr)
Copies text.
Definition: Label.cpp:59
math::float4 color
Definition: LineSetBuffers.cpp:63
~Label()
Definition: Label.cpp:65
const char * GetText() const
Definition: Label.cpp:67
Definition: PinholeCameraIntrinsic.cpp:35
void SetText(const char *text)
Sets the text of the label (copies text)
Definition: Label.cpp:69
Color GetTextColor() const
Definition: Label.cpp:74
Size CalcPreferredSize(const Theme &theme) const override
Definition: Label.cpp:78
DrawResult Draw(const DrawContext &context) override
Definition: Label.cpp:120