|
ROOT 6.12/07 Reference Guide |
Drawing options for a 1D histogram.
Definition at line 115 of file THistDrawingOpts.hxx.
Public Member Functions | |
| THistDrawingOpts ()=default | |
| THistDrawingOpts (TPadBase &pad) | |
Public Member Functions inherited from ROOT::Experimental::THistDrawingOptsBase< THistDrawingOpts< 3 > > | |
| TColor & | GetFillColor () |
| const TColor & | GetFillColor () const |
| TColor & | GetLineColor () |
| const TColor & | GetLineColor () const |
| TLineAttrs::Width & | GetLineWidth () |
| const TLineAttrs::Width | GetLineWidth () const |
| void | SetFillColor (const TColor &col) |
| The color of the histogram line. More... | |
| void | SetLineColor (const TColor &col) |
| The color of the histogram line. More... | |
| void | SetLineWidth (TLineAttrs::Width width) |
| The width of the histogram line. More... | |
Public Member Functions inherited from ROOT::Experimental::TDrawingOptsBase< THistDrawingOpts< 3 > > | |
| TDrawingOptsBase ()=default | |
| TDrawingOptsBase (TPadBase &pad, std::string_view name) | |
Construct from the pad that holds our TDrawable. More... | |
| void | Apply (const THistDrawingOpts< 3 > &other) |
| Apply the given options to this option set. More... | |
Public Member Functions inherited from ROOT::Experimental::TDrawingOptsBaseNoDefault | |
| TDrawingOptsBaseNoDefault ()=default | |
| TDrawingOptsBaseNoDefault (const TDrawingOptsBaseNoDefault &other) | |
| TDrawingOptsBaseNoDefault (TDrawingOptsBaseNoDefault &&other)=default | |
| ~TDrawingOptsBaseNoDefault () | |
| template<class PRIMITIVE > | |
| PRIMITIVE & | Get (TDrawingAttrRef< PRIMITIVE > ref) |
| Access to the attribute (non-const version). More... | |
| template<class PRIMITIVE > | |
| const PRIMITIVE & | Get (TDrawingAttrRef< PRIMITIVE > ref) const |
| Access to the attribute (const version). More... | |
Private Types | |
| enum | EStyle { EStyle::kBox, EStyle::kIso } |
Private Attributes | |
| TDrawingAttrRef< long long > | fStyle {*this, "Style", 0, {"box", "iso"}} |
Additional Inherited Members | |
Static Public Member Functions inherited from ROOT::Experimental::TDrawingOptsBase< THistDrawingOpts< 3 > > | |
| static THistDrawingOpts< 3 > & | Default () |
Retrieve the default drawing options for DERIVED. More... | |
| static THistDrawingOpts< 3 > | GetDefaultForStyle (const TStyle &style) |
| Retrieve the default drawing options for the given style. More... | |
Protected Member Functions inherited from ROOT::Experimental::THistDrawingOptsBase< THistDrawingOpts< 3 > > | |
| THistDrawingOptsBase ()=default | |
| THistDrawingOptsBase (TPadBase &pad, const std::string &name) | |
Protected Member Functions inherited from ROOT::Experimental::TDrawingOptsBaseNoDefault | |
| TDrawingOptsBaseNoDefault (TPadBase &pad, std::string_view name) | |
Construct from the pad that holds our TDrawable. More... | |
| TCanvas & | GetCanvas () |
The TCanvas holding the TDrawable (or its TPad) (non-const version). More... | |
| const TCanvas & | GetCanvas () const |
The TCanvas holding the TDrawable (or its TPad) (const version). More... | |
| const std::string & | GetName () const |
| Get the (style config) name of this option set. More... | |
| template<class PRIMITIVE > | |
| TDrawingAttrRef< PRIMITIVE > | Register (const PRIMITIVE &val) |
| template<class PRIMITIVE > | |
| TDrawingAttrRef< PRIMITIVE > | SameAs (TDrawingAttrRef< PRIMITIVE > idx) |
| template<class PRIMITIVE > | |
| TDrawingAttrRef< PRIMITIVE > | SameAs (const PRIMITIVE &val) |
| template<class PRIMITIVE > | |
| void | Update (TDrawingAttrRef< PRIMITIVE > idx, const PRIMITIVE &val) |
Static Protected Member Functions inherited from ROOT::Experimental::TDrawingOptsBaseNoDefault | |
| static TPadBase & | GetDefaultCanvas (const TStyle &style) |
| Default attributes need to register their values in a pad - they will take this pad for default attributes of a style, as identified by the style's name. More... | |
| static bool | IsDefaultCanvas (const TPadBase &canv) |
| Whether the canvas is one of the canvases used to store attribute defaults. More... | |
#include <ROOT/THistDrawingOpts.hxx>
|
strongprivate |
| Enumerator | |
|---|---|
| kBox | |
| kIso | |
Definition at line 116 of file THistDrawingOpts.hxx.
|
default |
|
inlineexplicit |
Definition at line 121 of file THistDrawingOpts.hxx.
|
private |
Definition at line 117 of file THistDrawingOpts.hxx.