class QPanda::DRAW_TEXT_PIC::DrawBox¶
Overview¶
Draw text-picture box. More…
#include <Draw.h> class DrawBox { public: // construction DrawBox( const std::string& top_format_str, const std::string& mid_format_str, const std::string& bot_format_str ); // methods virtual const std::string& getTopStr() const; virtual const std::string& getMidStr() const; virtual const std::string& getBotStr() const; virtual void set_top_connected(); virtual void set_bot_connected(); virtual int getLen() const = 0; };
Detailed Documentation¶
Draw text-picture box.
Construction¶
DrawBox( const std::string& top_format_str, const std::string& mid_format_str, const std::string& bot_format_str )
Constructor of DrawBox.
Methods¶
virtual const std::string& getTopStr() const
get top string of box
virtual const std::string& getMidStr() const
get middle string of box
virtual const std::string& getBotStr() const
get bottom string of box
virtual void set_top_connected()
set connected str on the top of box
virtual void set_bot_connected()
set connected str on the bottom of box
virtual int getLen() const = 0
get box len
Returns:
int the length of box