File indexing completed on 2025-01-18 10:11:31
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TAxisModLab
0013 #define ROOT_TAxisModLab
0014
0015 #include "TObject.h"
0016
0017 #include "TAttText.h"
0018
0019 #include "TString.h"
0020
0021 class TAxisModLab : public TObject, public TAttText {
0022
0023 private:
0024 Int_t fLabNum;
0025 Double_t fLabValue;
0026 TString fLabText;
0027
0028 public:
0029
0030 TAxisModLab();
0031
0032 void SetLabNum(Int_t n = 0);
0033 void SetLabValue(Double_t v = 0.);
0034 void SetAngle(Double_t a = -1.);
0035 void SetSize(Double_t s = -1.);
0036 void SetAlign(Int_t a = -1);
0037 void SetColor(Int_t c = -1);
0038 void SetFont(Int_t f = -1);
0039 void SetText(TString t = "");
0040
0041 Int_t GetLabNum() const { return fLabNum; }
0042 Double_t GetLabValue() const { return fLabValue; }
0043 Double_t GetAngle() const { return fTextAngle; }
0044 Double_t GetSize() const { return fTextSize; }
0045 Int_t GetAlign() const { return fTextAlign; }
0046 Int_t GetColor() const { return fTextColor; }
0047 Int_t GetFont() const { return fTextFont; }
0048 const TString &GetText() const { return fLabText; }
0049
0050 ClassDefOverride(TAxisModLab,4)
0051 };
0052
0053 #endif