13 namespace visualization {
21 explicit Label(
const char* text =
nullptr);
41 std::unique_ptr<Impl> impl_;
const char * GetText() const
void SetText(const char *text)
Sets the text of the label (copies text)
void SetTextColor(const Color &color)
DrawResult Draw(const DrawContext &context) override
Color GetTextColor() const
Label(const char *text=nullptr)
Copies text.
Size CalcPreferredSize(const LayoutContext &context, const Constraints &constraints) const override
void SetFontId(const FontId font_id)
Generic file read and write utility for python interface.