Logo ROOT   6.18/05
Reference Guide
RAttrBox.hxx
Go to the documentation of this file.
1/// \file ROOT/RAttrBox.hxx
2/// \ingroup Gpad ROOT7
3/// \author Axel Naumann <axel@cern.ch>
4/// \date 2018-10-17
5/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
6/// is welcome!
7
8/*************************************************************************
9 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
10 * All rights reserved. *
11 * *
12 * For the licensing terms see $ROOTSYS/LICENSE. *
13 * For the list of contributors see $ROOTSYS/README/CREDITS. *
14 *************************************************************************/
15
16#ifndef ROOT7_RAttrBox
17#define ROOT7_RAttrBox
18
19#include <ROOT/RDrawingAttr.hxx>
20#include <ROOT/RAttrLine.hxx>
21#include <ROOT/RColor.hxx>
22#include <ROOT/RPadExtent.hxx>
23#include <ROOT/RPadPos.hxx>
24
25namespace ROOT {
26namespace Experimental {
27
28/** class ROOT::Experimental::RAttrBox
29 Drawing attributes for a box: rectangular lines with size and position.
30 */
32public:
34
35 RAttrLine Border() const { return {"border", *this}; }
36 /// Overrides Border() for the top line..
37 RAttrLine Top() const { return {"top", *this}; }
38 /// Overrides Border() for the right line.
39 RAttrLine Right() const { return {"right", *this}; }
40 /// Overrides Border() for the bottom line.
41 RAttrLine Bottom() const { return {"bottom", *this}; }
42 /// Overrides Border() for the left line.
43 RAttrLine Left() const { return {"left", *this}; }
44
45 // TODO: Add Fill()!
46};
47
48} // namespace Experimental
49} // namespace ROOT
50
51#endif
class ROOT::Experimental::RAttrBox Drawing attributes for a box: rectangular lines with size and posi...
Definition: RAttrBox.hxx:31
RAttrLine Bottom() const
Overrides Border() for the bottom line.
Definition: RAttrBox.hxx:41
RAttrLine Border() const
Definition: RAttrBox.hxx:35
RAttrLine Top() const
Overrides Border() for the top line..
Definition: RAttrBox.hxx:37
RAttrLine Right() const
Overrides Border() for the right line.
Definition: RAttrBox.hxx:39
RAttrLine Left() const
Overrides Border() for the left line.
Definition: RAttrBox.hxx:43
class ROOT::Experimental::RAttrLine Drawing attributes for RLine.
Definition: RAttrLine.hxx:28
A collection of graphics attributes, for instance everything describing a line: color,...
RDrawingAttrBase()=default
Construct a default, unnamed, unconnected attribute.
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21