12 #ifndef ROOT_TPaveText
13 #define ROOT_TPaveText
76 virtual void SetLabel(
const char *label) {fLabel = label;}
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
virtual void SetLabel(const char *label)
virtual TBox * AddBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Add a new graphics box to this pavetext.
Float_t GetMargin() const
const char * GetLabel() const
virtual TLine * AddLine(Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0)
Add a new graphics line to this pavetext.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void DeleteText()
Delete text at the mouse position.
virtual void UseCurrentStyle()
Replace current attributes by current style.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
static const char * filename()
virtual TList * GetListOfLines() const
virtual void InsertText(const char *label)
Add a new Text line at the mouse position.
A TBox with a bordersize and a shadow option.
const char * Data() const
static const double x2[5]
virtual void DrawFile(const char *filename, Option_t *option="")
Draw lines in filename in this pavetext.
virtual void Paint(Option_t *option="")
Paint this pavetext with its current attributes.
virtual void Clear(Option_t *option="")
Clear all lines in this pavetext.
Base class for several text objects.
virtual ~TPaveText()
pavetext default destructor.
virtual TObject * GetObject(Double_t &ymouse, Double_t &yobj) const
Get object pointed by the mouse in this pavetext.
virtual void ReadFile(const char *filename, Option_t *option="", Int_t nlines=50, Int_t fromline=0)
Read lines of filename in this pavetext.
virtual TText * GetLine(Int_t number) const
Get Pointer to line number in this pavetext.
virtual void InsertLine()
Add a new line at the mouse position.
virtual void EditText()
Edit text at the mouse position.
static const double x1[5]
A Pave (see TPave) with text, lines or/and boxes inside.
Mother of all ROOT objects.
virtual Int_t GetSize() const
return number of text lines (ignoring TLine, etc)
virtual void PaintPrimitives(Int_t mode)
Paint list of primitives in this pavetext.
TPaveText & operator=(const TPaveText &)
assignment operator
virtual void Print(Option_t *option="") const
Dump this pavetext with its attributes.
virtual void SetAllWith(const char *text, Option_t *option, Double_t value)
Set attribute option for all lines containing string text.
virtual void SetMargin(Float_t margin=0.05)
virtual void SaveLines(std::ostream &out, const char *name)
Save lines of this pavetext as C++ statements on output stream out.
virtual TText * GetLineWith(const char *text) const
Get Pointer to first containing string text in this pavetext.