Public Member Functions | |
def | __init__ |
def | __repr__ |
def | SVG |
Public Attributes | |
arrow_end | |
attr | |
local2 | |
y2 | |
Static Public Attributes | |
dictionary | defaults = {} |
Draws a line between two points, one or both of which is in global coordinates. Line(x1, y1, x2, y2, lcoal1, local2, arrow_start, arrow_end, attribute=value) x1, y1 required the starting point x2, y2 required the ending point local1 default=False if True, interpret first point as a local coordinate (apply transform) local2 default=False if True, interpret second point as a local coordinate (apply transform) arrow_start default=None if an identifier string/Unicode, draw a new arrow object at the beginning of the line; if a marker, draw that marker instead arrow_end default=None same for the end of the line attribute=value pairs keyword list SVG attributes
def svgfig.LineGlobal.__repr__ | ( | self | ) |
Definition at line 2069 of file svgfig.py.
References svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, svgfig.Poly.attr, svgfig.Text.attr, svgfig.TextGlobal.attr, svgfig.Dots.attr, svgfig.Line.attr, svgfig.LineGlobal.attr, svgfig.LineGlobal.local2, reco::PdfInfo.x1, L1MonitorDigi.x1(), L1DataEmulDigi.x1(), TrackingTools_PatternTools::dictionary.x1, DDTrap.x1(), DataFormats_TrackReco::dictionary.x1, DataFormats_METReco::dictionary.x1, DDPseudoTrap.x1(), Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), TrackingTools_PatternTools::dictionary.x2, DDTrap.x2(), DataFormats_TrackReco::dictionary.x2, DDPseudoTrap.x2(), DataFormats_METReco::dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, svgfig.Line.y2, and svgfig.LineGlobal.y2.
Referenced by data_sources.json_file.__str__().
def svgfig.LineGlobal.SVG | ( | self, | |
trans = None |
|||
) |
Apply the transformation "trans" and return an SVG object.
Definition at line 2084 of file svgfig.py.
References svgfig.Line.arrow_end, svgfig.LineGlobal.arrow_end, svgfig.Ticks.arrow_start, svgfig.SVG.attr, svgfig.Path.attr, svgfig.Curve.attr, svgfig.Poly.attr, svgfig.Text.attr, svgfig.TextGlobal.attr, svgfig.Dots.attr, svgfig.Line.attr, svgfig.LineGlobal.attr, svgfig.LineGlobal.local2, svgfig.make_marker(), svgfig.totrans(), reco::PdfInfo.x1, L1MonitorDigi.x1(), L1DataEmulDigi.x1(), TrackingTools_PatternTools::dictionary.x1, DDTrap.x1(), DataFormats_TrackReco::dictionary.x1, DataFormats_METReco::dictionary.x1, DDPseudoTrap.x1(), Exhume::CrossSection.x1, svgfig.VLine.x1, svgfig.YAxis.x1, reco::PdfInfo.x2, L1MonitorDigi.x2(), L1DataEmulDigi.x2(), TrackingTools_PatternTools::dictionary.x2, DDTrap.x2(), DataFormats_TrackReco::dictionary.x2, DDPseudoTrap.x2(), DataFormats_METReco::dictionary.x2, Exhume::CrossSection.x2, svgfig.VLine.x2, svgfig.YAxis.x2, DDTrap.y1(), DDPseudoTrap.y1(), svgfig.HLine.y1, svgfig.XAxis.y1, svgfig.Line.y2, and svgfig.LineGlobal.y2.
svgfig.LineGlobal.arrow_end |
Definition at line 2079 of file svgfig.py.
Referenced by svgfig.LineGlobal.SVG(), and svgfig.CurveAxis.SVG().
svgfig.LineGlobal.attr |
Definition at line 2081 of file svgfig.py.
Referenced by svgfig.LineGlobal.__repr__(), svgfig.Ticks.__repr__(), svgfig.Axes.__repr__(), svgfig.HGrid.__repr__(), svgfig.VGrid.__repr__(), svgfig.Grid.__repr__(), svgfig.LineGlobal.SVG(), svgfig.Axes.SVG(), svgfig.XErrorBars.SVG(), and svgfig.YErrorBars.SVG().
|
static |
Definition at line 2067 of file svgfig.py.
Referenced by tree.Tree.reset(), and tree.Tree.var().
svgfig.LineGlobal.local2 |
Definition at line 2078 of file svgfig.py.
Referenced by svgfig.LineGlobal.__repr__(), and svgfig.LineGlobal.SVG().
svgfig.LineGlobal.y2 |
Definition at line 2077 of file svgfig.py.
Referenced by svgfig.LineGlobal.__repr__(), svgfig.Rect.__repr__(), svgfig.Rect.Path(), and svgfig.LineGlobal.SVG().