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