Warning, file /include/root/TPaveLabel.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TPaveLabel
0013 #define ROOT_TPaveLabel
0014
0015
0016 #include "TPave.h"
0017 #include "TAttText.h"
0018
0019
0020 class TPaveLabel : public TPave, public TAttText {
0021
0022 protected:
0023 TString fLabel;
0024
0025 public:
0026 TPaveLabel();
0027 TPaveLabel(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, const char *label, Option_t *option="br");
0028 TPaveLabel(const TPaveLabel &pavelabel);
0029 TPaveLabel& operator=(const TPaveLabel &pavelabel);
0030 ~TPaveLabel() override;
0031
0032 void Copy(TObject &pavelabel) const override;
0033 void Draw(Option_t *option="") override;
0034 virtual TPaveLabel *DrawPaveLabel(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
0035 const char *label, Option_t *option="");
0036 const char *GetLabel() const {return fLabel.Data();}
0037 const char *GetTitle() const override {return fLabel.Data();}
0038 void Paint(Option_t *option="") override;
0039 virtual void PaintPaveLabel(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
0040 const char *label, Option_t *option="");
0041 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0042 virtual void SetLabel(const char *label) {fLabel = label;}
0043
0044 ClassDefOverride(TPaveLabel,1)
0045 };
0046
0047 #endif
0048