#ifndef ROOT_TArrow
#define ROOT_TArrow
#ifndef ROOT_TString
#include "TString.h"
#endif
#ifndef ROOT_TLine
#include "TLine.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif
class TArrow : public TLine, public TAttFill {
protected:
Float_t fAngle;
Float_t fArrowSize;
TString fOption;
static Float_t fgDefaultAngle;
static Float_t fgDefaultArrowSize;
static TString fgDefaultOption;
public:
TArrow();
TArrow(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2
,Float_t arrowsize=0.05
,Option_t *option=">");
TArrow(const TArrow &arrow);
virtual ~TArrow();
void Copy(TObject &arrow) const;
virtual void Draw(Option_t *option="");
virtual void DrawArrow(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2
,Float_t arrowsize=0 ,Option_t *option="");
Float_t GetAngle() const {return fAngle;}
Float_t GetArrowSize() const {return fArrowSize;}
Option_t *GetOption() const { return fOption.Data();}
virtual void Paint(Option_t *option="");
virtual void PaintArrow(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2
,Float_t arrowsize=0.05 ,Option_t *option=">");
virtual void SavePrimitive(ostream &out, Option_t *option = "");
virtual void SetAngle(Float_t angle=60) {fAngle=angle;}
virtual void SetArrowSize(Float_t arrowsize=0.05) {fArrowSize=arrowsize;}
virtual void SetOption(Option_t *option=">"){ fOption = option;}
static void SetDefaultAngle (Float_t Angle );
static void SetDefaultArrowSize (Float_t ArrowSize);
static void SetDefaultOption (Option_t *Option );
static Float_t GetDefaultAngle ();
static Float_t GetDefaultArrowSize();
static Option_t *GetDefaultOption ();
ClassDef(TArrow,1)
};
#endif