static const double x2[5]
static const double x1[5]
#define ClassDef(name, id)
Mother of all ROOT objects.
A TBox with a bordersize and a shadow option.
virtual void Print(Option_t *option="") const
Dump this pave with its attributes.
virtual void SetY1NDC(Double_t y1)
TPave()
Pave default constructor.
Double_t GetY2NDC() const
Int_t GetBorderSize() const
virtual void SetCornerRadius(Double_t rad=0.2)
Double_t GetCornerRadius() const
virtual ULong_t Hash() const
Return hash value for this object.
TPave & operator=(const TPave &src)
Assignment operator.
virtual void ConvertNDCtoPad()
Convert pave coordinates from NDC to Pad coordinates.
virtual void SetX2(Double_t x2)
Set the X2 value.
virtual void PaintPaveArc(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t bordersize=4, Option_t *option="br")
Draw this pave with rounded corners.
virtual void ls(Option_t *option="") const
List this pave with its attributes.
Double_t GetX2NDC() const
Int_t fBorderSize
window box bordersize in pixels
virtual ~TPave()
Pave default destructor.
virtual void SetOption(Option_t *option="br")
@ kNameIsAction
double clicking on TPave will execute action
virtual void SetY2(Double_t y2)
Set the Y2 value.
virtual void Draw(Option_t *option="")
Draw this pave with its current attributes.
virtual void SetName(const char *name="")
Double_t fX2NDC
X2 point in NDC coordinates.
Int_t fShadowColor
Color of the pave's shadow.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Option_t * GetOption() const
Double_t GetY1NDC() const
Option_t * GetName() const
Returns name of object.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a pave.
virtual void SetBorderSize(Int_t bordersize=4)
Int_t fInit
(=0 if transformation to NDC not yet done)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
TString fOption
Pave style.
virtual void SetY2NDC(Double_t y2)
Double_t fY2NDC
Y2 point in NDC coordinates.
virtual void SetShadowColor(Int_t color)
void Copy(TObject &pave) const
Copy this pave to pave.
virtual void Paint(Option_t *option="")
Paint this pave with its current attributes.
virtual void SetX1(Double_t x1)
Set the X1 value.
Double_t fX1NDC
X1 point in NDC coordinates.
virtual void DrawPave(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t bordersize=4, Option_t *option="br")
Draw this pave with new coordinates.
Double_t fCornerRadius
Corner radius in case of option arc.
Double_t fY1NDC
Y1 point in NDC coordinates.
Double_t GetX1NDC() const
virtual void SetY1(Double_t y1)
Set the Y1 value.
Int_t GetShadowColor() const
virtual Bool_t IsSortable() const
virtual void PaintPave(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t bordersize=4, Option_t *option="br")
Draw this pave with new coordinates.
virtual void SetX1NDC(Double_t x1)
virtual void SetX2NDC(Double_t x2)
const char * Data() const
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
static constexpr double rad