18#include "ROOT/RBox.hxx"
26 auto canvas = RCanvas::Create(
"RBox drawing");
29 box1->border.color = RColor::kBlue;
30 box1->border.width = 5;
32 box1->fill.style = RAttrFill::kSolid;
35 box2->border.color = RColor::kRed;
36 box2->border.width = 10.f;
37 box2->border.style = RAttrLine::kDashed;
39 box2->fill.style = RAttrFill::kSolid;
42 box3->border.width = 3;
43 box3->fill.color = RColor::kBlue;
44 box3->fill.style = RAttrFill::kSolid;
47 box4->border.width = 4;
52 box5->border.width = 2;
A position (horizontal and vertical) in a RPad.