Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
TextBox Class Reference
Inheritance diagram for TextBox:
Inheritance graph
[legend]
Collaboration diagram for TextBox:
Collaboration graph
[legend]

Public Member Functions

 TextBox (TreeSVG &group)
 
 TextBox (TreeSVG &group, const TreeSVG::path_elem_t &identifier)
 
 TextBox (TextBox &textBox)
 
void setLineHeight (const svg::coord_t w)
 
void setFontSize (const svg::coord_t w)
 
TreeSVG & addLineAligned (const std::string &s, char edge='|') const
 
template<char SEP = 0, class ... TT>
TreeSVG & addLine (const TT &... args) const
 Adds a TEXT elem, containing concatenated arguments.
 
void addLines (const std::string &lines, char separator='\n', char edge='|') const
 
void setLocation (const drain::Point2D< int > &point)
 
TreeSVG & getBackground () const
 

Public Attributes

TreeSVG & topGroup
 
TreeSVG & adapterGroup
 

Static Public Attributes

static const drain::ClassXML TEXTBOX
 

Protected Member Functions

void init ()
 
template<class ... TT>
TreeSVG & addLineOLD (const TT &... args)
 Adds a TEXT elem, containing concatenated arguments.
 

Static Protected Attributes

static const std::string LINE_HEIGHT
 

Constructor & Destructor Documentation

◆ TextBox() [1/2]

TextBox ( TreeSVG &  group)
Parameters
group- host

◆ TextBox() [2/2]

TextBox ( TextBox &  textBox)

This should be rarely needed...


The documentation for this class was generated from the following files: