Logo ROOT  
Reference Guide

Manages default Pad attributes.

Referenced by TStyle.

Definition at line 19 of file TAttPad.h.

Public Member Functions

 TAttPad ()
 Constructor. More...
 
virtual ~TAttPad ()
 Destructor. More...
 
virtual void Copy (TAttPad &attpad) const
 copy function More...
 
Float_t GetAfile () const
 
Float_t GetAstat () const
 
Float_t GetBottomMargin () const
 
Int_t GetFrameBorderMode () const
 
Width_t GetFrameBorderSize () const
 
Color_t GetFrameFillColor () const
 
Style_t GetFrameFillStyle () const
 
Color_t GetFrameLineColor () const
 
Style_t GetFrameLineStyle () const
 
Width_t GetFrameLineWidth () const
 
Float_t GetLeftMargin () const
 
Float_t GetRightMargin () const
 
Float_t GetTopMargin () const
 
Float_t GetXfile () const
 
Float_t GetXstat () const
 
Float_t GetYfile () const
 
Float_t GetYstat () const
 
virtual void Print (Option_t *option="") const
 Print function. More...
 
virtual void ResetAttPad (Option_t *option="")
 Reset pad attributes. More...
 
virtual void SetAfile (Float_t afile)
 
virtual void SetAstat (Float_t astat)
 
virtual void SetBottomMargin (Float_t bottommargin)
 Set Pad bottom margin in fraction of the pad height. More...
 
void SetFrameBorderMode (Int_t mode=1)
 
void SetFrameBorderSize (Width_t size=1)
 
void SetFrameFillColor (Color_t color=1)
 
void SetFrameFillStyle (Style_t styl=0)
 
void SetFrameLineColor (Color_t color=1)
 
void SetFrameLineStyle (Style_t styl=0)
 
void SetFrameLineWidth (Width_t width=1)
 
virtual void SetLeftMargin (Float_t leftmargin)
 Set Pad left margin in fraction of the pad width. More...
 
virtual void SetMargin (Float_t left, Float_t right, Float_t bottom, Float_t top)
 Set all margins. More...
 
virtual void SetRightMargin (Float_t rightmargin)
 Set Pad right margin in fraction of the pad width. More...
 
virtual void SetTopMargin (Float_t topmargin)
 Set Pad top margin in fraction of the pad height. More...
 
virtual void SetXfile (Float_t xfile)
 
virtual void SetXstat (Float_t xstat)
 
virtual void SetYfile (Float_t yfile)
 
virtual void SetYstat (Float_t ystat)
 

Protected Attributes

Float_t fAfile
 Alignment for the file name. More...
 
Float_t fAstat
 Alignment for the statistics. More...
 
Float_t fBottomMargin
 BottomMargin. More...
 
Int_t fFrameBorderMode
 Pad frame border mode. More...
 
Width_t fFrameBorderSize
 Pad frame border size. More...
 
Color_t fFrameFillColor
 Pad frame fill color. More...
 
Style_t fFrameFillStyle
 Pad frame fill style. More...
 
Color_t fFrameLineColor
 Pad frame line color. More...
 
Style_t fFrameLineStyle
 Pad frame line style. More...
 
Width_t fFrameLineWidth
 Pad frame line width. More...
 
Float_t fLeftMargin
 LeftMargin. More...
 
Float_t fRightMargin
 RightMargin. More...
 
Float_t fTopMargin
 TopMargin. More...
 
Float_t fXfile
 X position where to draw the file name. More...
 
Float_t fXstat
 X position where to draw the statistics. More...
 
Float_t fYfile
 Y position where to draw the file name. More...
 
Float_t fYstat
 Y position where to draw the statistics. More...
 

#include <TAttPad.h>

Inheritance diagram for TAttPad:
[legend]

Constructor & Destructor Documentation

◆ TAttPad()

TAttPad::TAttPad ( )

Constructor.

Definition at line 30 of file TAttPad.cxx.

◆ ~TAttPad()

TAttPad::~TAttPad ( )
virtual

Destructor.

Definition at line 38 of file TAttPad.cxx.

Member Function Documentation

◆ Copy()

void TAttPad::Copy ( TAttPad attpad) const
virtual

copy function

Definition at line 45 of file TAttPad.cxx.

◆ GetAfile()

Float_t TAttPad::GetAfile ( ) const
inline

Definition at line 47 of file TAttPad.h.

◆ GetAstat()

Float_t TAttPad::GetAstat ( ) const
inline

Definition at line 50 of file TAttPad.h.

◆ GetBottomMargin()

Float_t TAttPad::GetBottomMargin ( ) const
inline

Definition at line 43 of file TAttPad.h.

◆ GetFrameBorderMode()

Int_t TAttPad::GetFrameBorderMode ( ) const
inline

Definition at line 59 of file TAttPad.h.

◆ GetFrameBorderSize()

Width_t TAttPad::GetFrameBorderSize ( ) const
inline

Definition at line 58 of file TAttPad.h.

◆ GetFrameFillColor()

Color_t TAttPad::GetFrameFillColor ( ) const
inline

Definition at line 53 of file TAttPad.h.

◆ GetFrameFillStyle()

Style_t TAttPad::GetFrameFillStyle ( ) const
inline

Definition at line 55 of file TAttPad.h.

◆ GetFrameLineColor()

Color_t TAttPad::GetFrameLineColor ( ) const
inline

Definition at line 54 of file TAttPad.h.

◆ GetFrameLineStyle()

Style_t TAttPad::GetFrameLineStyle ( ) const
inline

Definition at line 56 of file TAttPad.h.

◆ GetFrameLineWidth()

Width_t TAttPad::GetFrameLineWidth ( ) const
inline

Definition at line 57 of file TAttPad.h.

◆ GetLeftMargin()

Float_t TAttPad::GetLeftMargin ( ) const
inline

Definition at line 44 of file TAttPad.h.

◆ GetRightMargin()

Float_t TAttPad::GetRightMargin ( ) const
inline

Definition at line 45 of file TAttPad.h.

◆ GetTopMargin()

Float_t TAttPad::GetTopMargin ( ) const
inline

Definition at line 46 of file TAttPad.h.

◆ GetXfile()

Float_t TAttPad::GetXfile ( ) const
inline

Definition at line 48 of file TAttPad.h.

◆ GetXstat()

Float_t TAttPad::GetXstat ( ) const
inline

Definition at line 51 of file TAttPad.h.

◆ GetYfile()

Float_t TAttPad::GetYfile ( ) const
inline

Definition at line 49 of file TAttPad.h.

◆ GetYstat()

Float_t TAttPad::GetYstat ( ) const
inline

Definition at line 52 of file TAttPad.h.

◆ Print()

void TAttPad::Print ( Option_t option = "") const
virtual

Print function.

Reimplemented in TPad, and TVirtualPad.

Definition at line 69 of file TAttPad.cxx.

◆ ResetAttPad()

void TAttPad::ResetAttPad ( Option_t option = "")
virtual

Reset pad attributes.

Definition at line 76 of file TAttPad.cxx.

◆ SetAfile()

virtual void TAttPad::SetAfile ( Float_t  afile)
inlinevirtual

Definition at line 67 of file TAttPad.h.

◆ SetAstat()

virtual void TAttPad::SetAstat ( Float_t  astat)
inlinevirtual

Definition at line 70 of file TAttPad.h.

◆ SetBottomMargin()

void TAttPad::SetBottomMargin ( Float_t  bottommargin)
virtual

Set Pad bottom margin in fraction of the pad height.

Definition at line 100 of file TAttPad.cxx.

◆ SetFrameBorderMode()

void TAttPad::SetFrameBorderMode ( Int_t  mode = 1)
inline

Definition at line 79 of file TAttPad.h.

◆ SetFrameBorderSize()

void TAttPad::SetFrameBorderSize ( Width_t  size = 1)
inline

Definition at line 78 of file TAttPad.h.

◆ SetFrameFillColor()

void TAttPad::SetFrameFillColor ( Color_t  color = 1)
inline

Definition at line 73 of file TAttPad.h.

◆ SetFrameFillStyle()

void TAttPad::SetFrameFillStyle ( Style_t  styl = 0)
inline

Definition at line 75 of file TAttPad.h.

◆ SetFrameLineColor()

void TAttPad::SetFrameLineColor ( Color_t  color = 1)
inline

Definition at line 74 of file TAttPad.h.

◆ SetFrameLineStyle()

void TAttPad::SetFrameLineStyle ( Style_t  styl = 0)
inline

Definition at line 76 of file TAttPad.h.

◆ SetFrameLineWidth()

void TAttPad::SetFrameLineWidth ( Width_t  width = 1)
inline

Definition at line 77 of file TAttPad.h.

◆ SetLeftMargin()

void TAttPad::SetLeftMargin ( Float_t  leftmargin)
virtual

Set Pad left margin in fraction of the pad width.

Definition at line 110 of file TAttPad.cxx.

◆ SetMargin()

void TAttPad::SetMargin ( Float_t  left,
Float_t  right,
Float_t  bottom,
Float_t  top 
)
virtual

Set all margins.

Definition at line 140 of file TAttPad.cxx.

◆ SetRightMargin()

void TAttPad::SetRightMargin ( Float_t  rightmargin)
virtual

Set Pad right margin in fraction of the pad width.

Definition at line 120 of file TAttPad.cxx.

◆ SetTopMargin()

void TAttPad::SetTopMargin ( Float_t  topmargin)
virtual

Set Pad top margin in fraction of the pad height.

Definition at line 130 of file TAttPad.cxx.

◆ SetXfile()

virtual void TAttPad::SetXfile ( Float_t  xfile)
inlinevirtual

Definition at line 68 of file TAttPad.h.

◆ SetXstat()

virtual void TAttPad::SetXstat ( Float_t  xstat)
inlinevirtual

Definition at line 71 of file TAttPad.h.

◆ SetYfile()

virtual void TAttPad::SetYfile ( Float_t  yfile)
inlinevirtual

Definition at line 69 of file TAttPad.h.

◆ SetYstat()

virtual void TAttPad::SetYstat ( Float_t  ystat)
inlinevirtual

Definition at line 72 of file TAttPad.h.

Member Data Documentation

◆ fAfile

Float_t TAttPad::fAfile
protected

Alignment for the file name.

Definition at line 27 of file TAttPad.h.

◆ fAstat

Float_t TAttPad::fAstat
protected

Alignment for the statistics.

Definition at line 30 of file TAttPad.h.

◆ fBottomMargin

Float_t TAttPad::fBottomMargin
protected

BottomMargin.

Definition at line 23 of file TAttPad.h.

◆ fFrameBorderMode

Int_t TAttPad::fFrameBorderMode
protected

Pad frame border mode.

Definition at line 37 of file TAttPad.h.

◆ fFrameBorderSize

Width_t TAttPad::fFrameBorderSize
protected

Pad frame border size.

Definition at line 36 of file TAttPad.h.

◆ fFrameFillColor

Color_t TAttPad::fFrameFillColor
protected

Pad frame fill color.

Definition at line 31 of file TAttPad.h.

◆ fFrameFillStyle

Style_t TAttPad::fFrameFillStyle
protected

Pad frame fill style.

Definition at line 33 of file TAttPad.h.

◆ fFrameLineColor

Color_t TAttPad::fFrameLineColor
protected

Pad frame line color.

Definition at line 32 of file TAttPad.h.

◆ fFrameLineStyle

Style_t TAttPad::fFrameLineStyle
protected

Pad frame line style.

Definition at line 34 of file TAttPad.h.

◆ fFrameLineWidth

Width_t TAttPad::fFrameLineWidth
protected

Pad frame line width.

Definition at line 35 of file TAttPad.h.

◆ fLeftMargin

Float_t TAttPad::fLeftMargin
protected

LeftMargin.

Definition at line 21 of file TAttPad.h.

◆ fRightMargin

Float_t TAttPad::fRightMargin
protected

RightMargin.

Definition at line 22 of file TAttPad.h.

◆ fTopMargin

Float_t TAttPad::fTopMargin
protected

TopMargin.

Definition at line 24 of file TAttPad.h.

◆ fXfile

Float_t TAttPad::fXfile
protected

X position where to draw the file name.

Definition at line 25 of file TAttPad.h.

◆ fXstat

Float_t TAttPad::fXstat
protected

X position where to draw the statistics.

Definition at line 28 of file TAttPad.h.

◆ fYfile

Float_t TAttPad::fYfile
protected

Y position where to draw the file name.

Definition at line 26 of file TAttPad.h.

◆ fYstat

Float_t TAttPad::fYstat
protected

Y position where to draw the statistics.

Definition at line 29 of file TAttPad.h.


The documentation for this class was generated from the following files: