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< 2 > Class Reference

Drawing options for a 2D histogram.

Definition at line 68 of file RHistDrawingOpts.hxx.

Public Types

enum class  EStyle { kBox , kSurf , 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.2D.Line.Color"}
 
RDrawingAttr< int > fLineWidth {*this, "Hist.2D.Line.Width"}
 
RDrawingAttr< RStringEnumAttr< EStyle > > fStyle {*this, "Hist.2D.Style", EStyle::kBox, Styles()}
 

#include <ROOT/RHistDrawingOpts.hxx>

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

Member Enumeration Documentation

◆ EStyle

Enumerator
kBox 
kSurf 
kText 

Definition at line 70 of file RHistDrawingOpts.hxx.

Member Function Documentation

◆ GetLineColor() [1/2]

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

Definition at line 87 of file RHistDrawingOpts.hxx.

◆ GetLineColor() [2/2]

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

Definition at line 86 of file RHistDrawingOpts.hxx.

◆ GetLineWidth() [1/2]

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

Definition at line 91 of file RHistDrawingOpts.hxx.

◆ GetLineWidth() [2/2]

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

Definition at line 90 of file RHistDrawingOpts.hxx.

◆ GetStyle() [1/2]

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

Definition at line 83 of file RHistDrawingOpts.hxx.

◆ GetStyle() [2/2]

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

Definition at line 82 of file RHistDrawingOpts.hxx.

◆ SetLineColor()

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

Definition at line 88 of file RHistDrawingOpts.hxx.

◆ SetLineWidth()

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

Definition at line 92 of file RHistDrawingOpts.hxx.

◆ SetStyle()

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

Definition at line 84 of file RHistDrawingOpts.hxx.

◆ Styles()

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

Definition at line 73 of file RHistDrawingOpts.hxx.

Member Data Documentation

◆ fLineColor

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

Definition at line 78 of file RHistDrawingOpts.hxx.

◆ fLineWidth

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

Definition at line 79 of file RHistDrawingOpts.hxx.

◆ fStyle

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

Definition at line 77 of file RHistDrawingOpts.hxx.

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

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