Axis labels drawing attributes.
Definition at line 30 of file RAttrAxis.hxx.
Public Member Functions | |
RAttrAxisLabels ()=default | |
RAttrAxisLabels (const RAttrAxisLabels &src) | |
RAttrAxisLabels (RAttrBase *parent, const char *prefix="labels") | |
RAttrAxisLabels (RDrawable *drawable, const char *prefix="labels") | |
RAttrAxisLabels & | operator= (const RAttrAxisLabels &src) |
Public Member Functions inherited from ROOT::Experimental::RAttrText | |
RAttrText ()=default | |
RAttrText (const RAttrText &src) | |
RAttrText (RAttrBase *parent, const char *prefix="text") | |
RAttrText (RDrawable *drawable, const char *prefix, double _size) | |
RAttrText (RDrawable *drawable, const char *prefix="text") | |
RAttrText & | operator= (const RAttrText &src) |
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. | |
RAttrAggregation & | operator= (const RAttrAggregation &src) |
Public Member Functions inherited from ROOT::Experimental::RAttrBase | |
RAttrBase ()=default | |
virtual | ~RAttrBase () |
Public Attributes | |
RAttrValue< bool > | center {this, "center", false} |
! center labels | |
RAttrValue< bool > | hide {this, "hide", false} |
! hide labels | |
RAttrValue< RPadLength > | offset {this, "offset", {}} |
! labels offset - relative to "default" position | |
Public Attributes inherited from ROOT::Experimental::RAttrText | |
RAttrValue< EAlign > | align {this, "align", kCenter} |
! text align | |
RAttrValue< double > | angle {this, "angle", 0.} |
! text angle | |
RAttrValue< RColor > | color {this, "color", RColor::kBlack} |
! text color | |
RAttrFont | font {this, "font"} |
! text font | |
RAttrValue< double > | size {this, "size", 12.} |
! text size | |
Protected Member Functions | |
const RAttrMap & | GetDefaults () const override |
Return default values for attributes, empty for base class. | |
Protected Member Functions inherited from ROOT::Experimental::RAttrText | |
const RAttrMap & | GetDefaults () const override |
Return default values for attributes, empty for base class. | |
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. | |
void | CopyTo (RAttrAggregation &tgt, bool use_style=true) const |
Copy attributes into target object. | |
bool | CopyValue (const std::string &name, const RAttrMap::Value_t &value, bool check_type=true) |
Copy attributes from other object. | |
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. | |
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. | |
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. | |
const Val_t | AccessValue (const std::string &name, bool use_style=true) const |
Search value with given name in attributes. | |
void | ClearValue (const std::string &name) |
Clear value if any with specified name. | |
Rec_t | EnsureAttr (const std::string &name) |
Ensure attribute with give name exists - creates container for attributes if required. | |
RDrawable * | GetDrawable () const |
RAttrMap * | GetOwnAttr () const |
RAttrBase * | GetParent () const |
const char * | GetPrefix () const |
void | MoveTo (RAttrBase &tgt) |
Move all fields into target object. | |
void | SetNoValue (const std::string &name) |
Set <NoValue> for attribute. | |
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 } |
#include <ROOT/RAttrAxis.hxx>
|
default |
|
inline |
Definition at line 32 of file RAttrAxis.hxx.
|
inline |
Definition at line 32 of file RAttrAxis.hxx.
|
inline |
Definition at line 32 of file RAttrAxis.hxx.
|
inlineoverrideprotectedvirtual |
Return default values for attributes, empty for base class.
Reimplemented from ROOT::Experimental::RAttrAggregation.
Definition at line 32 of file RAttrAxis.hxx.
|
inline |
Definition at line 32 of file RAttrAxis.hxx.
RAttrValue<bool> ROOT::Experimental::RAttrAxisLabels::center {this, "center", false} |
! center labels
Definition at line 37 of file RAttrAxis.hxx.
RAttrValue<bool> ROOT::Experimental::RAttrAxisLabels::hide {this, "hide", false} |
! hide labels
Definition at line 38 of file RAttrAxis.hxx.
RAttrValue<RPadLength> ROOT::Experimental::RAttrAxisLabels::offset {this, "offset", {}} |
! labels offset - relative to "default" position
Definition at line 36 of file RAttrAxis.hxx.