9#ifndef ROOT7_RAttrMargins
10#define ROOT7_RAttrMargins
16namespace Experimental {
58 auto value = GetValue<std::string>(
name);
Base class for all attributes, used with RDrawable.
void ClearValue(const std::string &name)
Clear value if any with specified name.
void SetValue(const std::string &name, bool value)
Set boolean value.
A margins attributes. Only relative and pixel coordinates are allowed.
RPadLength GetTop() const
R__ATTR_CLASS(RAttrMargins, "margin_", AddString("left","").AddString("right","").AddString("top","").AddString("bottom",""))
RAttrMargins & SetTop(const RPadLength &pos)
RPadLength GetBottom() const
RPadLength GetLeft() const
RAttrMargins & SetRight(const RPadLength &pos)
RPadLength GetMargin(const std::string &name) const
RAttrMargins & SetLeft(const RPadLength &pos)
RPadLength GetRight() const
RAttrMargins & SetMargin(const std::string &name, const RPadLength &pos)
RAttrMargins & SetBottom(const RPadLength &pos)
std::string AsString() const
Converts RPadLength to string like "0.1 + 25px" User coordinates not (yet) supported.
bool ParseString(const std::string &val)
Parse string and fill RPadLength attributes String can be like "0.1 + 25px" User coordinates not (yet...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...