31 const char* header =
"",
Option_t* option=
"brNDC" );
54 virtual void InsertEntry(
const char* objectName =
"",
const char* label =
"",
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Storage class for one entry of a TLegend.
virtual void InsertEntry(const char *objectName="", const char *label="", Option_t *option="lpf")
void Copy(TObject &obj) const override
Copy a Box.
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
virtual void EditEntryAttText()
void SetNColumns(Int_t nColumns)
void Draw(Option_t *option="") override
Draw this box with its current attributes.
TLegend(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char *header="", Option_t *option="brNDC")
TLegend(const TLegend &legend)
TLegendEntry * GetEntry() const
Float_t GetColumnSeparation() const
void Clear(Option_t *option="") override
Float_t fEntrySeparation
Separation between entries, as a fraction of The space allocated to one entry.
void SetEntrySeparation(Float_t entryseparation)
TList * GetListOfPrimitives() const
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
void Paint(Option_t *option="") override
Paint this box with its current attributes.
Int_t GetNColumns() const
void RecursiveRemove(TObject *obj) override
Recursively remove this object from a list.
virtual const char * GetHeader() const
Float_t fMargin
Fraction of total width used for symbol.
virtual void SetHeader(const char *header="", Option_t *option="")
TList * fPrimitives
List of TLegendEntries.
Int_t fNColumns
Number of columns in the legend.
Float_t fColumnSeparation
Separation between columns, as a fraction of The space allowed to one column.
virtual void EditEntryAttMarker()
virtual void SetEntryOption(Option_t *option)
virtual void EditEntryAttLine()
TLegendEntry * AddEntry(const char *name, const char *label="", Option_t *option="lpf")
Float_t GetEntrySeparation() const
TLegend(Double_t w, Double_t h, const char *header="", Option_t *option="brNDC")
TLegend & operator=(const TLegend &)
virtual void SetEntryLabel(const char *label)
virtual void PaintPrimitives()
void Print(Option_t *option="") const override
Dump this box with its attributes.
void SetMargin(Float_t margin)
virtual void DeleteEntry()
virtual void EditEntryAttFill()
Float_t GetMargin() const
void SetColumnSeparation(Float_t columnSeparation)
Mother of all ROOT objects.
TObject()
TObject constructor.
TPave()
Pave default constructor.