10#define ROOT7_RAttrLine
16namespace Experimental {
39 double GetWidth()
const {
return GetValue<double>(
"width"); }
43 int GetStyle()
const {
return GetValue<int>(
"style"); }
include TDocParser_001 C image html pict1_TDocParser_001 png width
Base class for all attributes, used with RDrawable.
void SetValue(const std::string &name, bool value)
Drawing line attributes for different objects.
RAttrLine & SetColor(const RColor &color)
The color of the line.
const RColor & GetColor() const
RAttrLine & SetWidth(double width)
The width of the line.
RAttrLine & SetStyle(int style)
The style of the line.
RColor fColor
! line color, will access container from line attributes
R__ATTR_CLASS(RAttrLine, "line_", AddDouble("width", 1.).AddInt("style", 1).AddDefaults(fColor))