ROOT logo
ROOT » CORE » BASE » TAttPad

class TAttPad


  Manages default Pad attributes. Referenced by TStyle.

Function Members (Methods)

public:
TAttPad()
TAttPad(const TAttPad&)
virtual~TAttPad()
static TClass*Class()
virtual voidCopy(TAttPad& attpad) const
Float_tGetAfile() const
Float_tGetAstat() const
Float_tGetBottomMargin() const
Int_tGetFrameBorderMode() const
Width_tGetFrameBorderSize() const
Color_tGetFrameFillColor() const
Style_tGetFrameFillStyle() const
Color_tGetFrameLineColor() const
Style_tGetFrameLineStyle() const
Width_tGetFrameLineWidth() const
Float_tGetLeftMargin() const
Float_tGetRightMargin() const
Float_tGetTopMargin() const
Float_tGetXfile() const
Float_tGetXstat() const
Float_tGetYfile() const
Float_tGetYstat() const
virtual TClass*IsA() const
TAttPad&operator=(const TAttPad&)
virtual voidPrint(Option_t* option = "") const
virtual voidResetAttPad(Option_t* option = "")
virtual voidSetAfile(Float_t afile)
virtual voidSetAstat(Float_t astat)
virtual voidSetBottomMargin(Float_t bottommargin)
voidSetFrameBorderMode(Int_t mode = 1)
voidSetFrameBorderSize(Width_t size = 1)
voidSetFrameFillColor(Color_t color = 1)
voidSetFrameFillStyle(Style_t styl = 0)
voidSetFrameLineColor(Color_t color = 1)
voidSetFrameLineStyle(Style_t styl = 0)
voidSetFrameLineWidth(Width_t width = 1)
virtual voidSetLeftMargin(Float_t leftmargin)
virtual voidSetMargin(Float_t left, Float_t right, Float_t bottom, Float_t top)
virtual voidSetRightMargin(Float_t rightmargin)
virtual voidSetTopMargin(Float_t topmargin)
virtual voidSetXfile(Float_t xfile)
virtual voidSetXstat(Float_t xstat)
virtual voidSetYfile(Float_t yfile)
virtual voidSetYstat(Float_t ystat)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
Float_tfAfileAlignment for the file name
Float_tfAstatAlignment for the statistics
Float_tfBottomMarginBottomMargin
Int_tfFrameBorderModepad frame border mode
Width_tfFrameBorderSizepad frame border size
Color_tfFrameFillColorpad frame fill color
Style_tfFrameFillStylepad frame fill style
Color_tfFrameLineColorpad frame line color
Style_tfFrameLineStylepad frame line style
Width_tfFrameLineWidthpad frame line width
Float_tfLeftMarginLeftMargin
Float_tfRightMarginRightMargin
Float_tfTopMarginTopMargin
Float_tfXfileX position where to draw the file name
Float_tfXstatX position where to draw the statistics
Float_tfYfileX position where to draw the file name
Float_tfYstatX position where to draw the statistics

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TAttPad()
constructor
~TAttPad()
destructor
void Copy(TAttPad& attpad) const
copy function
void Print(Option_t* option = "") const
print function
void ResetAttPad(Option_t* option = "")
reset pad attributes
void SetBottomMargin(Float_t bottommargin)
-*-*-*-*-*Set Pad bottom margin in fraction of the pad height
*-*              ===================================================
void SetLeftMargin(Float_t leftmargin)
-*-*-*-*Set Pad left margin in fraction of the pad width
*-*              ================================================
void SetRightMargin(Float_t rightmargin)
-*-*-*-*Set Pad right margin in fraction of the pad width
*-*              =================================================
void SetTopMargin(Float_t topmargin)
-*-*-*-*Set Pad top margin in fraction of the pad height
*-*              ================================================
void SetMargin(Float_t left, Float_t right, Float_t bottom, Float_t top)
*-*-*-*-*-*-*-*-*Set all margins
void Streamer(TBuffer& b)
 Stream an object of class TAttPad.
TAttPad()
Float_t GetBottomMargin() const
{ return fBottomMargin;}
Float_t GetLeftMargin() const
{ return fLeftMargin;}
Float_t GetRightMargin() const
{ return fRightMargin;}
Float_t GetTopMargin() const
{ return fTopMargin;}
Float_t GetAfile() const
{ return fAfile;}
Float_t GetXfile() const
{ return fXfile;}
Float_t GetYfile() const
{ return fYfile;}
Float_t GetAstat() const
{ return fAstat;}
Float_t GetXstat() const
{ return fXstat;}
Float_t GetYstat() const
{ return fYstat;}
Color_t GetFrameFillColor() const
{return fFrameFillColor;}
Color_t GetFrameLineColor() const
{return fFrameLineColor;}
Style_t GetFrameFillStyle() const
{return fFrameFillStyle;}
Style_t GetFrameLineStyle() const
{return fFrameLineStyle;}
Width_t GetFrameLineWidth() const
{return fFrameLineWidth;}
Width_t GetFrameBorderSize() const
Int_t GetFrameBorderMode() const
void SetAfile(Float_t afile)
{ fAfile=afile;}
void SetXfile(Float_t xfile)
{ fXfile=xfile;}
void SetYfile(Float_t yfile)
{ fYfile=yfile;}
void SetAstat(Float_t astat)
{ fAstat=astat;}
void SetXstat(Float_t xstat)
{ fXstat=xstat;}
void SetYstat(Float_t ystat)
{ fYstat=ystat;}
void SetFrameFillColor(Color_t color = 1)
{fFrameFillColor = color;}
void SetFrameLineColor(Color_t color = 1)
{fFrameLineColor = color;}
void SetFrameFillStyle(Style_t styl = 0)
{fFrameFillStyle = styl;}
void SetFrameLineStyle(Style_t styl = 0)
{fFrameLineStyle = styl;}
void SetFrameLineWidth(Width_t width = 1)
{fFrameLineWidth = width;}
void SetFrameBorderSize(Width_t size = 1)
void SetFrameBorderMode(Int_t mode = 1)