Base class for paves with text, statistic, legends, placed relative to RFrame position and adjustable height.
Public Types | |
enum | ECorner { kTopLeft = 1 , kTopRight = 2 , kBottomLeft = 3 , kBottomRight = 4 } |
Public Types inherited from ROOT::Experimental::RDrawable | |
using | Version_t = uint64_t |
Public Member Functions | |
RPave () | |
Public Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const char *csstype) | |
virtual | ~RDrawable () |
void | ClearStyle () |
const std::string & | GetCssClass () const |
const char * | GetCssType () const |
const std::string & | GetId () const |
void | SetCssClass (const std::string &cl) |
void | SetId (const std::string &id) |
virtual void | UseStyle (const std::shared_ptr< RStyle > &style) |
Public Attributes | |
RAttrBorder | border {this, "border"} |
! border attributes | |
RAttrValue< ECorner > | corner {this, "corner", kTopRight} |
! frame/pad corner to which pave is bound | |
RAttrFill | fill {this, "fill"} |
! fill attributes | |
RAttrValue< RPadLength > | height {this, "height", 0.2} |
! pave height | |
RAttrValue< RPadLength > | offsetX {this, "offsetX", 0.02} |
! offset X relative to selected frame or pad corner | |
RAttrValue< RPadLength > | offsetY {this, "offsetY", 0.02} |
! offset Y relative to selected frame or pad corner | |
RAttrValue< bool > | onFrame {this, "onFrame", true} |
! is pave assigned to frame (true) or to pad corner (false) | |
RAttrText | text {this, "text"} |
! text attributes | |
RAttrValue< RPadLength > | width {this, "width", 0.4} |
! pave width | |
Protected Member Functions | |
RPave (const char *csstype) | |
Protected Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const RDrawable &)=delete | |
virtual void | CollectShared (Internal::RIOSharedVector_t &) |
virtual std::unique_ptr< RDisplayItem > | Display (const RDisplayContext &) |
Creates display item for drawable By default item contains drawable data itself. | |
virtual void | Execute (const std::string &) |
RAttrMap & | GetAttrMap () |
const RAttrMap & | GetAttrMap () const |
Version_t | GetVersion () const |
virtual bool | IsFrameRequired () const |
bool | MatchSelector (const std::string &selector) const |
Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method. | |
virtual void | OnDisplayItemDestroyed (RDisplayItem *) const |
RDrawable & | operator= (const RDrawable &)=delete |
virtual void | PopulateMenu (RMenuItems &) |
void | SetCssType (const char *csstype) |
virtual void | SetDrawableVersion (Version_t vers) |
#include <ROOT/RPave.hxx>
|
inlineprotected |
RAttrBorder ROOT::Experimental::RPave::border {this, "border"} |
RAttrValue<ECorner> ROOT::Experimental::RPave::corner {this, "corner", kTopRight} |
RAttrFill ROOT::Experimental::RPave::fill {this, "fill"} |
RAttrValue<RPadLength> ROOT::Experimental::RPave::height {this, "height", 0.2} |
RAttrValue<RPadLength> ROOT::Experimental::RPave::offsetX {this, "offsetX", 0.02} |
RAttrValue<RPadLength> ROOT::Experimental::RPave::offsetY {this, "offsetY", 0.02} |
RAttrValue<bool> ROOT::Experimental::RPave::onFrame {this, "onFrame", true} |
RAttrText ROOT::Experimental::RPave::text {this, "text"} |
RAttrValue<RPadLength> ROOT::Experimental::RPave::width {this, "width", 0.4} |