Logo ROOT  
Reference Guide
ROOT::Experimental::RAttrAxisTitle Class Reference

Axis title and its drawing attributes.

Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 49 of file RAttrAxis.hxx.

Public Member Functions

RAttrAxisTitleoperator= (const std::string &_title)
void SetCenter ()
void SetLeft ()
void SetRight ()
- Public Member Functions inherited from ROOT::Experimental::RAttrText
 RAttrText (RDrawable *drawable, const char *prefix, double _size)
- Public Member Functions inherited from ROOT::Experimental::RAttrAggregation
 RAttrAggregation ()=default
 RAttrAggregation (const RAttrAggregation &src)
 RAttrAggregation (RAttrBase *parent, const char *prefix=nullptr)
 RAttrAggregation (RDrawable *drawable, const char *prefix=nullptr)
void Clear () override
 Clear all respective values from drawable. Only defaults can be used. More...
RAttrAggregationoperator= (const RAttrAggregation &src)
- Public Member Functions inherited from ROOT::Experimental::RAttrBase
 RAttrBase ()=default
virtual ~RAttrBase ()
virtual void Clear ()=0

Public Attributes

RAttrValue< RPadLengthoffset {this, "offset", {}}
 ! axis title offset - relative to "default" position More...
RAttrValue< std::string > position {this, "position", "right"}
 ! axis title position - left, right, center More...
RAttrValue< std::string > value {this, "value", ""}
 ! axis title value More...
- Public Attributes inherited from ROOT::Experimental::RAttrText
RAttrValue< EAlignalign {this, "align", kCenter}
 ! text align More...
RAttrValue< doubleangle {this, "angle", 0.}
 ! text angle More...
RAttrValue< RColorcolor {this, "color", RColor::kBlack}
 ! text color More...
RAttrFont font {this, "font"}
 ! text font More...
RAttrValue< doublesize {this, "size", 12.}
 ! text size More...

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RAttrText
enum  EAlign {
  kLeftBottom = 11 , kLeftCenter = 12 , kLeftTop = 13 , kCenterBottom = 21 ,
  kCenter = 22 , kCenterTop = 23 , kRightBottom = 31 , kRightCenter = 32 ,
  kRightTop = 33
- Protected Member Functions inherited from ROOT::Experimental::RAttrAggregation
RAttrMap CollectDefaults () const override
 Collect all attributes in derived class Works only if such class has dictionary. More...
void CopyTo (RAttrAggregation &tgt, bool use_style=true) const
 Copy attributes into target object. More...
bool CopyValue (const std::string &name, const RAttrMap::Value_t &value, bool check_type=true)
 Copy attributes from other object. More...
virtual const RAttrMapGetDefaults () const
 Return default values for attributes, empty for base class. More...
bool IsAggregation () const final
bool IsSame (const RAttrAggregation &src, bool use_style=true) const
 Check if all values which are evaluated in this object are exactly the same as in tgt object. More...
bool IsValueEqual (const std::string &name, const RAttrMap::Value_t &value, bool use_style=false) const
 Check if provided value equal to attribute in the map. More...
- Protected Member Functions inherited from ROOT::Experimental::RAttrBase
 RAttrBase (const char *prefix)
 RAttrBase (RAttrBase *parent, const char *prefix=nullptr)
 RAttrBase (RDrawable *drawable, const char *prefix=nullptr)
const Rec_t AccessAttr (const std::string &name) const
 Find attributes container and full-qualified name for value. More...
const Val_t AccessValue (const std::string &name, bool use_style=true) const
 Search value with given name in attributes. More...
void ClearValue (const std::string &name)
 Clear value if any with specified name. More...
virtual RAttrMap CollectDefaults () const =0
Rec_t EnsureAttr (const std::string &name)
 Ensure attribute with give name exists - creates container for attributes if required. More...
RDrawableGetDrawable () const
RAttrMapGetOwnAttr () const
RAttrBaseGetParent () const
const char * GetPrefix () const
virtual bool IsAggregation () const
void MoveTo (RAttrBase &tgt)
 Move all fields into target object. More...
void SetNoValue (const std::string &name)
 Set <NoValue> for attribute. More...

#include <ROOT/RAttrAxis.hxx>

Inheritance diagram for ROOT::Experimental::RAttrAxisTitle:

Member Function Documentation

◆ operator=()

RAttrAxisTitle & ROOT::Experimental::RAttrAxisTitle::operator= ( const std::string &  _title)

Definition at line 59 of file RAttrAxis.hxx.

◆ SetCenter()

void ROOT::Experimental::RAttrAxisTitle::SetCenter ( )

Definition at line 62 of file RAttrAxis.hxx.

◆ SetLeft()

void ROOT::Experimental::RAttrAxisTitle::SetLeft ( )

Definition at line 61 of file RAttrAxis.hxx.

◆ SetRight()

void ROOT::Experimental::RAttrAxisTitle::SetRight ( )

Definition at line 63 of file RAttrAxis.hxx.

Member Data Documentation

◆ offset

RAttrValue<RPadLength> ROOT::Experimental::RAttrAxisTitle::offset {this, "offset", {}}

! axis title offset - relative to "default" position

Definition at line 57 of file RAttrAxis.hxx.

◆ position

RAttrValue<std::string> ROOT::Experimental::RAttrAxisTitle::position {this, "position", "right"}

! axis title position - left, right, center

Definition at line 56 of file RAttrAxis.hxx.

◆ value

RAttrValue<std::string> ROOT::Experimental::RAttrAxisTitle::value {this, "value", ""}

! axis title value

Definition at line 55 of file RAttrAxis.hxx.

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