16#ifndef ROOT7_RAttrLine
17#define ROOT7_RAttrLine
23namespace Experimental {
38 float GetWidth()
const {
return Get<float>(
"width"); }
42 int GetStyle()
const {
return Get<int>(
"style"); }
include TDocParser_001 C image html pict1_TDocParser_001 png width
class ROOT::Experimental::RAttrLine Drawing attributes for RLine.
RAttrLine & SetColor(const RColor &col)
The color of the line.
RAttrLine & SetWidth(float width)
The width of the line.
RAttrLine & SetStyle(int style)
The style of the line.
A color: Red|Green|Blue|Alpha, or a position in a RPalette.
A collection of graphics attributes, for instance everything describing a line: color,...
RDrawingAttrBase()=default
Construct a default, unnamed, unconnected attribute.
void Set(const Name &name, const T &val)
Insert or update the attribute value identified by name to the given value.
Namespace for new ROOT classes and functions.