Public Member Functions | |
def | __init__ (self, x, y, text, size=None, bold=True, align="left", color=ROOT.kBlack, font=None) |
def | Draw (self, options=None) |
Private Attributes | |
_l | |
_text | |
_x | |
_y | |
Abstraction on top of TLatex
Definition at line 1351 of file plotting.py.
def plotting.PlotText.__init__ | ( | self, | |
x, | |||
y, | |||
text, | |||
size = None , |
|||
bold = True , |
|||
align = "left" , |
|||
color = ROOT.kBlack , |
|||
font = None |
|||
) |
Constructor. Arguments: x -- X coordinate of the text (in NDC) y -- Y coordinate of the text (in NDC) text -- String to draw size -- Size of text (None for the default value, taken from gStyle) bold -- Should the text be bold? align -- Alignment of text (left, center, right) color -- Color of the text font -- Specify font explicitly
Definition at line 1353 of file plotting.py.
Draw the text to the current TPad. Arguments: options -- For interface compatibility, ignored Provides interface compatible with ROOT's drawable objects.
Definition at line 1391 of file plotting.py.
References Vispa.Gui.VispaWidget.TextField._text, plotting.PlotText._text, PGeometricDet::Item._x, SpecificationBuilder_cfi.Specification._x, hitfit::Fourvec_Event._x, plotting.PlotText._x, PGeometricDet::Item._y, contrib::CMSBoostedTauSeedingAlgorithmStructure._y, SpecificationBuilder_cfi.Specification._y, and plotting.PlotText._y.
|
private |
Definition at line 1370 of file plotting.py.
|
private |
Definition at line 1368 of file plotting.py.
Referenced by plotting.PlotText.Draw().
|
private |
Definition at line 1366 of file plotting.py.
Referenced by plotting.PlotText.Draw().
|
private |
Definition at line 1367 of file plotting.py.
Referenced by plotting.PlotText.Draw().