TLine


class description - source file - inheritance tree

class TLine : public TObject, public TAttLine


    public:
TLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) TLine(const TLine& line) TLine() virtual ~TLine() static TClass* Class() virtual void Copy(TObject& line) const virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual TLine* DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual TLine* DrawLineNDC(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) Double_t GetX1() const Double_t GetX2() const Double_t GetY1() const Double_t GetY2() const virtual TClass* IsA() const virtual void ls(Option_t* option) const virtual void Paint(Option_t* option) virtual void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) virtual void PaintLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) virtual void Print(Option_t* option) const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetX1(Double_t x1) virtual void SetX2(Double_t x2) virtual void SetY1(Double_t y1) virtual void SetY2(Double_t y2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fX1 X of 1st point Double_t fY1 Y of 1st point Double_t fX2 X of 2nd point Double_t fY2 Y of 2nd point public:
static const enum TLine:: kLineNDC


See also

TArrow, TGaxis

Class Description



Last update: Fri May 14 13:32:40 2004


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.