Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TAxisModLab.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Olivier Couet
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TAxisModLab
13 #define ROOT_TAxisModLab
14 
15 #include "TObject.h"
16 
17 #include "TAttText.h"
18 
19 #include "TString.h"
20 
21 class TAxisModLab : public TObject, public TAttText {
22 
23 private:
24 
25  Int_t fLabNum; ///< Label number.
26  TString fLabText; ///< Label text
27 
28 public:
29 
30  TAxisModLab();
31 
32  void SetLabNum(Int_t n = 0);
33  void SetAngle(Double_t a = -1.);
34  void SetSize(Double_t s = -1.);
35  void SetAlign(Int_t a = -1);
36  void SetColor(Int_t c = -1);
37  void SetFont(Int_t f = -1);
38  void SetText(TString t = "");
39 
40  Int_t GetLabNum() {return fLabNum;}
41  Double_t GetAngle() {return fTextAngle;}
42  Double_t GetSize() {return fTextSize;}
43  Int_t GetAlign() {return fTextAlign;}
44  Int_t GetColor() {return fTextColor;}
45  Int_t GetFont() {return fTextFont;}
46  TString GetText() {return fLabText;}
47 
48  ClassDef(TAxisModLab,3) // Modified axis label
49 };
50 
51 #endif