9#ifndef ROOT7_RAttrMarker
10#define ROOT7_RAttrMarker
16namespace Experimental {
38 float GetSize()
const {
return GetValue<double>(
"size"); }
42 int GetStyle()
const {
return GetValue<int>(
"style"); }
Base class for all attributes, used with RDrawable.
void SetValue(const std::string &name, bool value)
RAttrMarker & SetSize(float size)
The size of the marker.
const RColor & GetColor() const
R__ATTR_CLASS(RAttrMarker, "marker_", AddDouble("size", 1.).AddInt("style", 1).AddDefaults(fColor))
RAttrMarker & SetColor(const RColor &color)
RAttrMarker & SetStyle(int style)
The style of the marker.
RColor fColor
! marker color, will access container from line attributes