Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::TText Class Reference

A text.

Definition at line 39 of file TText.hxx.

Public Member Functions

 TText ()=default
 
 TText (const std::string &str)
 
std::string GetText () const
 
double GetX () const
 
double GetY () const
 
void SetPosition (double x, double y)
 
void SetText (const std::string &txt)
 

Private Attributes

std::string fText {}
 
double fX {0.}
 Text's X position. More...
 
double fY {0.}
 Text's Y position. More...
 

#include <ROOT/TText.hxx>

Constructor & Destructor Documentation

◆ TText() [1/2]

ROOT::Experimental::TText::TText ( )
default

◆ TText() [2/2]

ROOT::Experimental::TText::TText ( const std::string &  str)
inline

Definition at line 52 of file TText.hxx.

Member Function Documentation

◆ GetText()

std::string ROOT::Experimental::TText::GetText ( ) const
inline

Definition at line 56 of file TText.hxx.

◆ GetX()

double ROOT::Experimental::TText::GetX ( ) const
inline

Definition at line 64 of file TText.hxx.

◆ GetY()

double ROOT::Experimental::TText::GetY ( ) const
inline

Definition at line 66 of file TText.hxx.

◆ SetPosition()

void ROOT::Experimental::TText::SetPosition ( double  x,
double  y 
)
inline

Definition at line 58 of file TText.hxx.

◆ SetText()

void ROOT::Experimental::TText::SetText ( const std::string &  txt)
inline

Definition at line 54 of file TText.hxx.

Member Data Documentation

◆ fText

std::string ROOT::Experimental::TText::fText {}
private

Definition at line 41 of file TText.hxx.

◆ fX

double ROOT::Experimental::TText::fX {0.}
private

Text's X position.

Definition at line 44 of file TText.hxx.

◆ fY

double ROOT::Experimental::TText::fY {0.}
private

Text's Y position.

Definition at line 47 of file TText.hxx.

Libraries for ROOT::Experimental::TText:
[legend]

The documentation for this class was generated from the following file: