#ifndef ROOT_TAttLine
#define ROOT_TAttLine
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
class TAttLine {
protected:
   Color_t    fLineColor;           
   Style_t    fLineStyle;           
   Width_t    fLineWidth;           
   
public:
   TAttLine();
   TAttLine(Color_t lcolor,Style_t lstyle, Width_t lwidth);
   virtual ~TAttLine();
   void             Copy(TAttLine &attline) const;
   Int_t            DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2 );
   virtual Color_t  GetLineColor() const {return fLineColor;}
   virtual Style_t  GetLineStyle() const {return fLineStyle;}
   virtual Width_t  GetLineWidth() const {return fLineWidth;}
   virtual void     Modify();
   virtual void     ResetAttLine(Option_t *option="");
   virtual void     SaveLineAttributes(ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1);
   virtual void     SetLineAttributes(); 
   virtual void     SetLineColor(Color_t lcolor) { fLineColor = lcolor;}
   virtual void     SetLineStyle(Style_t lstyle) { fLineStyle = lstyle;}
   virtual void     SetLineWidth(Width_t lwidth) { fLineWidth = lwidth;}
   ClassDef(TAttLine,1);  
};
   enum ELineStyle { kSolid = 1, kDashed, kDotted, kDashDotted };
#endif
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.