Logo ROOT   6.14/05
Reference Guide
List of all members | Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
ROOT::Experimental::THistDrawingOpts< 2 > Class Template Reference

template<>
class ROOT::Experimental::THistDrawingOpts< 2 >

Drawing options for a 2D histogram.

Definition at line 68 of file THistDrawingOpts.hxx.

Public Types

enum  EStyle { EStyle::kBox, EStyle::kSurf, EStyle::kText }
 

Public Member Functions

TColor GetLineColor () const
 
TDrawingAttr< TColor > & GetLineColor ()
 
int GetLineWidth () const
 
TDrawingAttr< int > & GetLineWidth ()
 
EStyle GetStyle () const
 
TDrawingAttr< TStringEnumAttr< EStyle > > & GetStyle ()
 
void SetLineColor (const TColor &col)
 
void SetLineWidth (int width)
 
void SetStyle (EStyle style)
 

Static Private Member Functions

static const TStringEnumAttrSet & Styles ()
 

Private Attributes

TDrawingAttr< TColorfLineColor {*this, "Hist.2D.Line.Color"}
 
TDrawingAttr< int > fLineWidth {*this, "Hist.2D.Line.Width"}
 
TDrawingAttr< TStringEnumAttr< EStyle > > fStyle {*this, "Hist.2D.Style", EStyle::kBox, Styles()}
 

#include <ROOT/THistDrawingOpts.hxx>

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

Member Enumeration Documentation

◆ EStyle

Enumerator
kBox 
kSurf 
kText 

Definition at line 70 of file THistDrawingOpts.hxx.

Member Function Documentation

◆ GetLineColor() [1/2]

TColor ROOT::Experimental::THistDrawingOpts< 2 >::GetLineColor ( ) const
inline

Definition at line 86 of file THistDrawingOpts.hxx.

◆ GetLineColor() [2/2]

TDrawingAttr<TColor>& ROOT::Experimental::THistDrawingOpts< 2 >::GetLineColor ( )
inline

Definition at line 87 of file THistDrawingOpts.hxx.

◆ GetLineWidth() [1/2]

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

Definition at line 90 of file THistDrawingOpts.hxx.

◆ GetLineWidth() [2/2]

TDrawingAttr<int>& ROOT::Experimental::THistDrawingOpts< 2 >::GetLineWidth ( )
inline

Definition at line 91 of file THistDrawingOpts.hxx.

◆ GetStyle() [1/2]

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

Definition at line 82 of file THistDrawingOpts.hxx.

◆ GetStyle() [2/2]

TDrawingAttr<TStringEnumAttr<EStyle> >& ROOT::Experimental::THistDrawingOpts< 2 >::GetStyle ( )
inline

Definition at line 83 of file THistDrawingOpts.hxx.

◆ SetLineColor()

void ROOT::Experimental::THistDrawingOpts< 2 >::SetLineColor ( const TColor col)
inline

Definition at line 88 of file THistDrawingOpts.hxx.

◆ SetLineWidth()

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

Definition at line 92 of file THistDrawingOpts.hxx.

◆ SetStyle()

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

Definition at line 84 of file THistDrawingOpts.hxx.

◆ Styles()

static const TStringEnumAttrSet& ROOT::Experimental::THistDrawingOpts< 2 >::Styles ( )
inlinestaticprivate

Definition at line 73 of file THistDrawingOpts.hxx.

Member Data Documentation

◆ fLineColor

TDrawingAttr<TColor> ROOT::Experimental::THistDrawingOpts< 2 >::fLineColor {*this, "Hist.2D.Line.Color"}
private

Definition at line 78 of file THistDrawingOpts.hxx.

◆ fLineWidth

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

Definition at line 79 of file THistDrawingOpts.hxx.

◆ fStyle

TDrawingAttr<TStringEnumAttr<EStyle> > ROOT::Experimental::THistDrawingOpts< 2 >::fStyle {*this, "Hist.2D.Style", EStyle::kBox, Styles()}
private

Definition at line 77 of file THistDrawingOpts.hxx.

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

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