30 #ifndef ROOT_TAttBBox2D
virtual void SetY2(Double_t y2)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual void Print(Option_t *option="") const
Dump this line with its attributes.
virtual void SetBBoxY2(const Int_t y)
Set bottom of BoundingBox to a value (resize in y direction on bottom)
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a line.
void SetHorizontal(Bool_t set=kTRUE)
Force the line to be drawn horizontally.
Bool_t IsVertical()
Check whether this line is to be drawn vertically.
virtual void SetBBoxY1(const Int_t y)
Set top of BoundingBox to a value (resize in y direction on top)
Bool_t IsHorizontal()
Check whether this line is to be drawn horizontally.
static const double x2[5]
virtual void PaintLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
Draw this line with new coordinates in NDC.
virtual void ls(Option_t *option="") const
List this line with its attributes.
virtual void Paint(Option_t *option="")
Paint this line with its current attributes.
virtual void SetBBoxX1(const Int_t x)
Set left hand side of BoundingBox to a value (resize in x direction on left)
virtual void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void SetX2(Double_t x2)
virtual TPoint GetBBoxCenter()
Return the center of the BoundingBox as TPoint in pixels.
virtual void SetY1(Double_t y1)
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the center of the BoundingBox.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.
virtual void SetX1(Double_t x1)
virtual void SetBBoxX2(const Int_t x)
Set right hand side of BoundingBox to a value (resize in x direction on right)
static const double x1[5]
virtual Rectangle_t GetBBox()
Return the bounding Box of the Line.
void SetVertical(Bool_t set=kTRUE)
Force the line to be drawn vertically.
virtual void SetBBoxCenterY(const Int_t y)
Set Y coordinate of the center of the BoundingBox.
virtual TLine * DrawLineNDC(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates in NDC.
void Copy(TObject &line) const
Copy this line to line.
Mother of all ROOT objects.
Abstract base class for elements drawn in the editor.
virtual ~TLine()
Line default destructor.
virtual void SetBBoxCenter(const TPoint &p)
Set center of the BoundingBox.