46 frame.TFrame::Copy(*
this);
81 if (!
gPad->IsEditable())
return;
100 if (leftMargin < 0) leftMargin = 0;
101 if (topMargin < 0) topMargin = 0;
102 if (rightMargin < 0) rightMargin = 0;
103 if (bottomMargin < 0) bottomMargin = 0;
104 gPad->SetLeftMargin(leftMargin);
105 gPad->SetRightMargin(rightMargin);
106 gPad->SetBottomMargin(bottomMargin);
107 gPad->SetTopMargin(topMargin);
133 if (!
gPad->PadInHighlightMode() || (
gPad->PadInHighlightMode() &&
this ==
gPad->GetSelected())) {
Option_t Option_t SetLineWidth
Option_t Option_t SetFillStyle
Option_t Option_t SetLineColor
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t SetFillColor
Option_t Option_t TPoint TPoint const char y1
R__EXTERN TStyle * gStyle
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual Color_t GetLineColor() const
Return the line color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual Width_t GetLineWidth() const
Return the line width.
virtual Style_t GetLineStyle() const
Return the line style.
Double_t fX1
X of 1st point.
Double_t fY2
Y of 2nd point.
Double_t fX2
X of 2nd point.
Double_t fY1
Y of 1st point.
void Pop() override
Do not pop frame's, if allowed they would cover the picture they frame.
~TFrame() override
Frame default destructor.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
void Copy(TObject &frame) const override
Copy this frame to frame.
void Draw(Option_t *option="") override
Draw this frame with its current attributes.
void Paint(Option_t *option="") override
Paint this wbox with its current attributes.
void UseCurrentStyle() override
Replace current frame attributes by current style.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
TFrame()
Frame default constructor.
Mother of all ROOT objects.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetFrameLineColor(Color_t color=1)
void SetFrameFillColor(Color_t color=1)
Color_t GetFrameLineColor() const
Style_t GetFrameFillStyle() const
void SetFrameFillStyle(Style_t styl=0)
void SetFrameBorderMode(Int_t mode=1)
Width_t GetFrameBorderSize() const
void SetFrameLineWidth(Width_t width=1)
void SetFrameBorderSize(Width_t size=1)
Style_t GetFrameLineStyle() const
void SetFrameLineStyle(Style_t styl=0)
Int_t GetFrameBorderMode() const
Width_t GetFrameLineWidth() const
Color_t GetFrameFillColor() const
A TBox with a bordersize and a bordermode.
Short_t GetBorderSize() const
Short_t GetBorderMode() const
void Paint(Option_t *option="") override
Paint this wbox with its current attributes.
virtual void SetBorderMode(Short_t bordermode)
virtual void SetBorderSize(Short_t bordersize)
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
void Copy(TObject &wbox) const override
Copy this wbox to wbox.