Auxiliary class to set line attributes.
More...
#include <JLineAttributes.hh>
Auxiliary class to set line attributes.
Definition at line 26 of file JLineAttributes.hh.
◆ pointer_type
◆ JLineAttributes()
JROOT::JLineAttributes::JLineAttributes |
( |
const Width_t |
width = 2 | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 40 of file JLineAttributes.hh.
44 for (
int i = 1; i <= 10; ++i) {
45 push_back(TAttLine(kBlack, i, width));
◆ getInstance()
Get reference to unique instance of this class object.
- Returns
- reference to this class object
Definition at line 55 of file JLineAttributes.hh.
Auxiliary class to set line attributes.
◆ setLineWidth()
void JROOT::JLineAttributes::setLineWidth |
( |
const Width_t |
width | ) |
|
|
inline |
Set line width.
- Parameters
-
Definition at line 68 of file JLineAttributes.hh.
70 for (iterator i = this->begin(); i != this->end(); ++i) {
71 i->SetLineWidth(width);
◆ rewind()
virtual void JROOT::JLineAttributes::rewind |
( |
| ) |
|
|
inlineoverridevirtual |
◆ hasNext()
virtual bool JROOT::JLineAttributes::hasNext |
( |
| ) |
|
|
inlineoverridevirtual |
◆ next()
virtual const pointer_type& JROOT::JLineAttributes::next |
( |
| ) |
|
|
inlineoverridevirtual |
◆ get()
const TAttLine& JROOT::JLineAttributes::get |
( |
unsigned int |
index | ) |
|
|
inline |
Get line attributes.
- Parameters
-
- Returns
- line attributes
Definition at line 123 of file JLineAttributes.hh.
125 return this->at(
index%this->size());
◆ skip()
◆ index
unsigned int JROOT::JLineAttributes::index |
|
private |
The documentation for this class was generated from the following file: