12 #ifndef ROOT_TPolyLine
13 #define ROOT_TPolyLine
virtual Int_t Size() const
virtual Int_t GetLastPoint() const
TPolyLine & operator=(const TPolyLine &)
assignment operator
virtual void SetPoint(Int_t point, Double_t x, Double_t y)
Set point number n to (x, y) If n is greater than the current size, the arrays are automatically exte...
virtual Int_t Merge(TCollection *list)
Merge polylines in the collection in this polyline.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void ls(Option_t *option="") const
List this polyline with its attributes.
const char * Data() const
Fill Area Attributes class.
Option_t * GetOption() const
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual void Draw(Option_t *option="")
Draw this polyline with its current attributes.
Collection abstract base class.
virtual void PaintPolyLine(Int_t n, Double_t *x, Double_t *y, Option_t *option="")
Draw this polyline with new coordinates.
virtual void SetPolyLine(Int_t n)
Resize this polyline to size n.
virtual ~TPolyLine()
PolyLine default destructor.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Returns closest distance in pixels from point (px, py) to a polyline.
Mother of all ROOT objects.
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.
Defined by an array on N points in a 2-D space.
virtual void Copy(TObject &polyline) const
Copy this polyline to polyline.
virtual Int_t SetNextPoint(Double_t x, Double_t y)
Set point following LastPoint to x, y.
virtual void Paint(Option_t *option="")
Paint this polyline with its current attributes.
virtual void SetOption(Option_t *option="")
virtual void PaintPolyLineNDC(Int_t n, Double_t *x, Double_t *y, Option_t *option="")
Draw this polyline with new coordinates in NDC.
virtual void DrawPolyLine(Int_t n, Double_t *x, Double_t *y, Option_t *option="")
Draw this polyline with new coordinates.
virtual void Print(Option_t *option="") const
Dump this polyline with its attributes.