File indexing completed on 2025-11-07 10:16:34
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ROOT7_RAttrMargins
0010 #define ROOT7_RAttrMargins
0011
0012 #include <ROOT/RAttrAggregation.hxx>
0013 #include <ROOT/RAttrValue.hxx>
0014 #include <ROOT/RPadLength.hxx>
0015
0016 namespace ROOT {
0017 namespace Experimental {
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 class RAttrMargins : public RAttrAggregation {
0028
0029 R__ATTR_CLASS(RAttrMargins, "margins");
0030
0031 public:
0032
0033 RAttrValue<RPadLength> left{this, "left", 0._normal};
0034 RAttrValue<RPadLength> right{this, "right", 0._normal};
0035 RAttrValue<RPadLength> top{this, "top", 0._normal};
0036 RAttrValue<RPadLength> bottom{this, "bottom", 0._normal};
0037
0038 RAttrMargins &operator=(const RPadLength &len)
0039 {
0040 left = len;
0041 right = len;
0042 top = len;
0043 bottom = len;
0044 return *this;
0045 }
0046 };
0047
0048 }
0049 }
0050
0051 #endif