Logo ROOT   6.16/01
Reference Guide
List of all members | Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
ROOT::Experimental::RHistDrawingOpts< 1 > Class Reference

Drawing options for a 1D histogram.

Definition at line 37 of file RHistDrawingOpts.hxx.

Public Types

enum class  EStyle { kBar , kText }
 

Public Member Functions

RDrawingAttr< RColor > & GetLineColor ()
 
RColor GetLineColor () const
 
RDrawingAttr< int > & GetLineWidth ()
 
int GetLineWidth () const
 
RDrawingAttr< RStringEnumAttr< EStyle > > & GetStyle ()
 
EStyle GetStyle () const
 
void SetLineColor (const RColor &col)
 
void SetLineWidth (int width)
 
void SetStyle (EStyle style)
 

Static Private Member Functions

static const RStringEnumAttrSet & Styles ()
 

Private Attributes

RDrawingAttr< RColor > fLineColor {*this, "Hist.1D.Line.Color"}
 
RDrawingAttr< int > fLineWidth {*this, "Hist.1D.Line.Width"}
 
RDrawingAttr< RStringEnumAttr< EStyle > > fStyle {*this, "Hist.1D.Style", EStyle::kBar, Styles()}
 

#include <ROOT/RHistDrawingOpts.hxx>

Inheritance diagram for ROOT::Experimental::RHistDrawingOpts< 1 >:
[legend]

Member Enumeration Documentation

◆ EStyle

Enumerator
kBar 
kText 

Definition at line 39 of file RHistDrawingOpts.hxx.

Member Function Documentation

◆ GetLineColor() [1/2]

RDrawingAttr< RColor > & ROOT::Experimental::RHistDrawingOpts< 1 >::GetLineColor ( )
inline

Definition at line 56 of file RHistDrawingOpts.hxx.

◆ GetLineColor() [2/2]

RColor ROOT::Experimental::RHistDrawingOpts< 1 >::GetLineColor ( ) const
inline

Definition at line 55 of file RHistDrawingOpts.hxx.

◆ GetLineWidth() [1/2]

RDrawingAttr< int > & ROOT::Experimental::RHistDrawingOpts< 1 >::GetLineWidth ( )
inline

Definition at line 60 of file RHistDrawingOpts.hxx.

◆ GetLineWidth() [2/2]

int ROOT::Experimental::RHistDrawingOpts< 1 >::GetLineWidth ( ) const
inline

Definition at line 59 of file RHistDrawingOpts.hxx.

◆ GetStyle() [1/2]

RDrawingAttr< RStringEnumAttr< EStyle > > & ROOT::Experimental::RHistDrawingOpts< 1 >::GetStyle ( )
inline

Definition at line 52 of file RHistDrawingOpts.hxx.

◆ GetStyle() [2/2]

EStyle ROOT::Experimental::RHistDrawingOpts< 1 >::GetStyle ( ) const
inline

Definition at line 51 of file RHistDrawingOpts.hxx.

◆ SetLineColor()

void ROOT::Experimental::RHistDrawingOpts< 1 >::SetLineColor ( const RColor &  col)
inline

Definition at line 57 of file RHistDrawingOpts.hxx.

◆ SetLineWidth()

void ROOT::Experimental::RHistDrawingOpts< 1 >::SetLineWidth ( int  width)
inline

Definition at line 61 of file RHistDrawingOpts.hxx.

◆ SetStyle()

void ROOT::Experimental::RHistDrawingOpts< 1 >::SetStyle ( EStyle  style)
inline

Definition at line 53 of file RHistDrawingOpts.hxx.

◆ Styles()

static const RStringEnumAttrSet & ROOT::Experimental::RHistDrawingOpts< 1 >::Styles ( )
inlinestaticprivate

Definition at line 42 of file RHistDrawingOpts.hxx.

Member Data Documentation

◆ fLineColor

RDrawingAttr<RColor> ROOT::Experimental::RHistDrawingOpts< 1 >::fLineColor {*this, "Hist.1D.Line.Color"}
private

Definition at line 47 of file RHistDrawingOpts.hxx.

◆ fLineWidth

RDrawingAttr<int> ROOT::Experimental::RHistDrawingOpts< 1 >::fLineWidth {*this, "Hist.1D.Line.Width"}
private

Definition at line 48 of file RHistDrawingOpts.hxx.

◆ fStyle

RDrawingAttr<RStringEnumAttr<EStyle> > ROOT::Experimental::RHistDrawingOpts< 1 >::fStyle {*this, "Hist.1D.Style", EStyle::kBar, Styles()}
private

Definition at line 46 of file RHistDrawingOpts.hxx.

Libraries for ROOT::Experimental::RHistDrawingOpts< 1 >:
[legend]

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