Base class for paves with text, statistic, legends, placed relative to RFrame position and adjustable height.
Public Member Functions | |
RPave (const std::string &csstype="pave") | |
RAttrLine & | AttrBorder () |
RAttrFill & | AttrFill () |
RAttrText & | AttrText () |
const RAttrLine & | GetAttrBorder () const |
const RAttrFill & | GetAttrFill () const |
const RAttrText & | GetAttrText () const |
RPadLength | GetCornerX () const |
RPadLength | GetCornerY () const |
RPadLength | GetHeight () const |
RPadLength | GetWidth () const |
RPave & | SetAttrBorder (const RAttrLine &border) |
RPave & | SetAttrFill (const RAttrFill &fill) |
RPave & | SetAttrText (const RAttrText &attr) |
RPave & | SetCornerX (const RPadLength &pos) |
RPave & | SetCornerY (const RPadLength &pos) |
RPave & | SetHeight (const RPadLength &height) |
RPave & | SetWidth (const RPadLength &width) |
Public Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const std::string &type) | |
virtual | ~RDrawable () |
void | ClearStyle () |
const std::string & | GetCssClass () const |
const std::string & | 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) |
Private Attributes | |
RAttrLine | fAttrBorder {this, "border"} |
! border attributes | |
RAttrFill | fAttrFill {this, "fill"} |
! line attributes | |
RAttrText | fAttrText {this, "text"} |
! text attributes | |
RAttrValue< RPadLength > | fCornerX {this, "cornerx", 0.02} |
! X corner | |
RAttrValue< RPadLength > | fCornerY {this, "cornery", 0.02} |
! Y corner | |
RAttrValue< RPadLength > | fHeight {this, "height", 0.2} |
! pave height | |
RAttrValue< RPadLength > | fWidth {this, "width", 0.4} |
! pave width | |
Additional Inherited Members | |
Public Types inherited from ROOT::Experimental::RDrawable | |
using | Version_t = uint64_t |
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 &) |
virtual void | SetDrawableVersion (Version_t vers) |
#include <ROOT/RPave.hxx>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |