TPaveLabel


class description - source file - inheritance tree

class TPaveLabel : public TPave, public TAttText

    private:
protected:
public:
TPaveLabel TPaveLabel() TPaveLabel TPaveLabel(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char* label, Option_t* option = br) TPaveLabel TPaveLabel(const TPaveLabel& pavelabel) virtual void ~TPaveLabel() static TClass* Class() virtual void Copy(TObject& pavelabel) virtual void Draw(Option_t* option) virtual void DrawPaveLabel(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char* label, Option_t* option) const char* GetLabel() const virtual const char* GetTitle() const virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void PaintPaveLabel(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char* label, Option_t* option) virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetLabel(const char* label) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
protected:
TString fLabel Label written at the center of Pave public:


See also

TPaveClass

Class Description

*  A PaveLabel is a Pave (see TPave) with a text centered in the Pave.

/*

*/



TPaveLabel(): TPave(), TAttText()
*-*-*-*-*-*-*-*-*-*-*pavelabel default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  =============================

TPaveLabel(Double_t x1, Double_t y1,Double_t x2, Double_t y2, const char *label, Option_t *option) :TPave(x1,y1,x2,y2,3,option), TAttText(22,0,1,62,0.99)
*-*-*-*-*-*-*-*-*-*-*pavelabel normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================
 a PaveLabel is a Pave with a label centered in the Pave
 The Pave is by default defined bith bordersize=5 and option ="br".
 The text size is automatically computed as a function of the pave size.

  IMPORTANT NOTE:
  Because TPave objects (and objects deriving from TPave) have their
  master coordinate system in NDC, one cannot use the TBox functions
  SetX1,SetY1,SetX2,SetY2 to change the corner coordinates. One should use
  instead SetX1NDC, SetY1NDC, SetX2NDC, SetY2NDC.

~TPaveLabel()
*-*-*-*-*-*-*-*-*-*-*pavelabel default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

TPaveLabel(const TPaveLabel &pavelabel)

void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*Copy this pavelabel to pavelabel*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ================================

void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with its current attributes*-*-*-*-*
*-*                  ===============================================

void DrawPaveLabel(Double_t x1, Double_t y1, Double_t x2, Double_t y2, const char *label, Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with new Doubleinates*-*-*-*-*-*-*-*
*-*                  ========================================

void Paint(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Paint this pavelabel with its current attributes*-*-*-*
*-*                  ================================================

void PaintPaveLabel(Double_t x1, Double_t y1,Double_t x2, Double_t y2, const char *label ,Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this pavelabel with new coordinates*-*-*-*-*-*-*-*
*-*                  ========================================

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out



Inline Functions


        const char* GetLabel() const
        const char* GetTitle() const
               void SetLabel(const char* label)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 17/10/95
Last update: root/graf:$Name: $:$Id: TPaveLabel.cxx,v 1.8 2001/05/31 15:45:45 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.