Logo ROOT  
Reference Guide
RAttrBox.hxx
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
3 * All rights reserved. *
4 * *
5 * For the licensing terms see $ROOTSYS/LICENSE. *
6 * For the list of contributors see $ROOTSYS/README/CREDITS. *
7 *************************************************************************/
8
9#ifndef ROOT7_RAttrBox
10#define ROOT7_RAttrBox
11
12#include <ROOT/RAttrBase.hxx>
13#include <ROOT/RAttrLine.hxx>
14#include <ROOT/RAttrFill.hxx>
15
16namespace ROOT {
17namespace Experimental {
18
19/** \class RAttrBox
20\ingroup GpadROOT7
21\author Axel Naumann <axel@cern.ch>
22\date 2018-10-17
23\brief Drawing attributes for a box: rectangular lines with size and position.
24\warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
25*/
26
27class RAttrBox : public RAttrBase {
28
29 RAttrLine fAttrBorder{this, "border_"}; ///<!
30 RAttrFill fAttrFill{this, "fill_"}; ///<!
31
32 R__ATTR_CLASS(RAttrBox, "box_", AddDefaults(fAttrBorder).AddDefaults(fAttrFill));
33
34 const RAttrLine &GetAttrBorder() const { return fAttrBorder; }
35 RAttrBox &SetAttrBorder(const RAttrLine &border) { fAttrBorder = border; return *this; }
37
38 const RAttrFill &GetAttrFill() const { return fAttrFill; }
39 RAttrBox &SetAttrFill(const RAttrFill &fill) { fAttrFill = fill; return *this; }
41};
42
43} // namespace Experimental
44} // namespace ROOT
45
46#endif
Base class for all attributes, used with RDrawable.
Definition: RAttrBase.hxx:27
Drawing attributes for a box: rectangular lines with size and position.
Definition: RAttrBox.hxx:27
R__ATTR_CLASS(RAttrBox, "box_", AddDefaults(fAttrBorder).AddDefaults(fAttrFill))
RAttrBox & SetAttrBorder(const RAttrLine &border)
Definition: RAttrBox.hxx:35
RAttrBox & SetAttrFill(const RAttrFill &fill)
Definition: RAttrBox.hxx:39
const RAttrFill & GetAttrFill() const
Definition: RAttrBox.hxx:38
const RAttrLine & GetAttrBorder() const
Definition: RAttrBox.hxx:34
Drawing fill attributes for different objects.
Definition: RAttrFill.hxx:26
Drawing line attributes for different objects.
Definition: RAttrLine.hxx:26
VSD Structures.
Definition: StringConv.hxx:21
fill
Definition: fit1_py.py:6