Drawing fill attributes for different objects.
Definition at line 26 of file RAttrFill.hxx.
Public Types | |
| enum | EStyle { kHollow = 0 , kNone = 0 , kSolid = 1001 , k3001 = 3001 , k3002 = 3002 , k3003 = 3003 , k3004 = 3004 , k3005 = 3005 , k3006 = 3006 , k3007 = 3007 , k3008 = 3008 , k3009 = 3009 , k3010 = 3010 , k3011 = 3011 , k3012 = 3012 , k3013 = 3013 , k3014 = 3014 , k3015 = 3015 , k3016 = 3016 , k3017 = 3017 , k3018 = 3018 , k3019 = 3019 , k3020 = 3020 , k3021 = 3021 , k3022 = 3022 , k3023 = 3023 , k3024 = 3024 , k3025 = 3025 } |
Public Member Functions | |
| RAttrFill ()=default | |
| RAttrFill (const RAttrFill &src) | |
| RAttrFill (RAttrBase *parent, const char *prefix="fill") | |
| RAttrFill (RColor _color, EStyle _style) | |
| RAttrFill (RDrawable *drawable, const char *prefix="fill") | |
| RAttrFill & | operator= (const RAttrFill &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< RColor > | color {this, "color", RColor::kBlack} |
| ! fill color | |
| RAttrValue< EStyle > | style {this, "style", kHollow} |
| ! fill style | |
Protected Member Functions | |
| 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. | |
#include <ROOT/RAttrFill.hxx>
| Enumerator | |
|---|---|
| kHollow | |
| kNone | |
| kSolid | |
| k3001 | |
| k3002 | |
| k3003 | |
| k3004 | |
| k3005 | |
| k3006 | |
| k3007 | |
| k3008 | |
| k3009 | |
| k3010 | |
| k3011 | |
| k3012 | |
| k3013 | |
| k3014 | |
| k3015 | |
| k3016 | |
| k3017 | |
| k3018 | |
| k3019 | |
| k3020 | |
| k3021 | |
| k3022 | |
| k3023 | |
| k3024 | |
| k3025 | |
Definition at line 32 of file RAttrFill.hxx.
|
default |
|
inline |
Definition at line 28 of file RAttrFill.hxx.
|
inline |
Definition at line 28 of file RAttrFill.hxx.
Definition at line 28 of file RAttrFill.hxx.
Definition at line 46 of file RAttrFill.hxx.
|
inlineoverrideprotectedvirtual |
Return default values for attributes, empty for base class.
Reimplemented from ROOT::Experimental::RAttrAggregation.
Definition at line 28 of file RAttrFill.hxx.
Definition at line 28 of file RAttrFill.hxx.
| RAttrValue<RColor> ROOT::Experimental::RAttrFill::color {this, "color", RColor::kBlack} |
! fill color
Definition at line 43 of file RAttrFill.hxx.
| RAttrValue<EStyle> ROOT::Experimental::RAttrFill::style {this, "style", kHollow} |
! fill style
Definition at line 44 of file RAttrFill.hxx.